Adds backing state for Resistance and Erg control modes, which had no value to hold and so could never satisfy FR-4.3/FR-4.6. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[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 }
|
|
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-dialog = "2"
|
|
|
|
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 }
|
|
|
|
[features]
|
|
default = ["mock-ride"]
|
|
# Drive the UI from the synthetic ride simulator in `src/mock.rs`. This is what
|
|
# ships today, while `crates/core` and `crates/ble` are still being written.
|
|
mock-ride = []
|
|
# Drive the UI from `bikecontrol_core::RideSession` fed by real FTMS telemetry.
|
|
# Swap `default` to this once core's `session`/`physics` are implemented.
|
|
real-session = []
|