Files
VoelinClient/crates/tsc-ui/Cargo.toml
T

47 lines
1.4 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"
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-core = { path = "../tsc-core" }
tsc-model = { path = "../tsc-model" }
tsc-query = { path = "../tsc-query" }
tsc-store = { path = "../tsc-store" }
tsclientlib = { path = "../proto/tsclientlib" }
# Android (tsc-android): no keyring backend (the app passes Keystore-backed
# secrets) and no winit/femtovg (the app picks Slint's Android backend).
[target.'cfg(not(target_os = "android"))'.dependencies]
slint = { version = "1.18", features = ["renderer-software"] }
tsc-store = { path = "../tsc-store", features = ["keyring"] }
[target.'cfg(target_os = "android")'.dependencies]
slint = { version = "1.18", default-features = false, features = ["std", "compat-1-2", "renderer-software"] }
[build-dependencies]
slint-build = "1.18"
[lints]
workspace = true