Files
VoelinClient/crates/tsc-ui/Cargo.toml
T
Claude 9bfbe9f9fa Merge claude/gifted-lovelace-1crlx2 into wip/stream-ui
Brings the Android app. tsc-ui keeps its RunOptions (secrets, hosted
engine) and safe-area padding; it asks tsc-core for media-desktop on
desktop and media on Android, OpenH264 only on desktop, hotkey backends
only on desktop. A window with a hosted engine leaves its sessions open
on exit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-26 15:40:43 +00:00

60 lines
2.1 KiB
TOML

[package]
name = "tsc-ui"
version = "0.1.0"
description = "Slint user interface and the desktop binary."
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
[lib]
name = "tsc_ui"
path = "src/lib.rs"
[[bin]]
name = "tsc-desktop"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.104"
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
dirs = "6"
png = "0.18"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros", "time", "sync"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
tsc-audio = { path = "../tsc-audio" }
tsc-core = { path = "../tsc-core", default-features = false, features = ["audio-device"] }
tsc-model = { path = "../tsc-model" }
# Crash reports and notices everywhere; hotkey backends on desktop (below).
tsc-platform = { path = "../tsc-platform", default-features = false }
tsc-query = { path = "../tsc-query" }
tsc-store = { path = "../tsc-store" }
tsclientlib = { path = "../proto/tsclientlib" }
# Desktop: the keyring for passwords, stream media with libvpx, OpenH264, X11
# and PipeWire, global hotkeys through the portal and X11.
[target.'cfg(not(target_os = "android"))'.dependencies]
slint = { version = "1.18", features = ["renderer-software"] }
tsc-core = { path = "../tsc-core", default-features = false, features = ["media-desktop"] }
tsc-platform = { path = "../tsc-platform" }
tsc-store = { path = "../tsc-store", features = ["keyring"] }
# Android (tsc-android): no keyring backend (the app passes Keystore-backed
# secrets), no winit/femtovg (the app picks Slint's Android backend), stream
# media through MediaCodec and the app's capture source.
[target.'cfg(target_os = "android")'.dependencies]
slint = { version = "1.18", default-features = false, features = ["std", "compat-1-2", "renderer-software"] }
tsc-core = { path = "../tsc-core", default-features = false, features = ["media"] }
[dev-dependencies]
serde_json = "1"
[build-dependencies]
slint-build = "1.18"
[lints]
workspace = true