44 lines
1.2 KiB
TOML
44 lines
1.2 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"
|
|
slint = { version = "1.18", features = ["renderer-software"] }
|
|
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" }
|
|
|
|
# The keyring crate has no Android backend; the Android app passes its own
|
|
# `Secrets` (Android Keystore) to `run_with_engine`.
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
tsc-store = { path = "../tsc-store", features = ["keyring"] }
|
|
|
|
[build-dependencies]
|
|
slint-build = "1.18"
|
|
|
|
[lints]
|
|
workspace = true
|