[package] name = "bikecontrol-app" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true description = "BikeControl desktop shell: Tauri commands and the event bridge to the UI" [lib] # Tauri v2 convention: the app lives in a lib so the same code can be reused by # the Android/iOS entry points later (G-4). name = "bikecontrol_app_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] bikecontrol-core = { workspace = true } bikecontrol-ble = { workspace = true } bikecontrol-fit = { workspace = true } tauri = { version = "2", features = [] } tauri-plugin-dialog = "2" uuid = { workspace = true } chrono = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } serde_yaml_ng = { workspace = true } roxmltree = { workspace = true } tokio = { workspace = true } anyhow = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } # Desktop-only: the crate is a `compile_error!` on anything that is not # Windows/Linux/macOS, and the mobile entry points (G-4) have their own # platform APIs for this. `wakelock.rs` degrades to a no-op there. [target.'cfg(any(windows, target_os = "linux", target_os = "macos"))'.dependencies] keepawake = "0.6.0"