provisioning-platform/crates/provisioning-desktop/Cargo.toml

52 lines
1.3 KiB
TOML

[package]
name = "provisioning-desktop"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
# Mobile (iOS/Android) builds the app as a library and calls the generated
# entry point; desktop links the same lib into a thin binary (src/main.rs).
[lib]
name = "provisioning_desktop_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[[bin]]
name = "provisioning-desktop"
path = "src/main.rs"
[build-dependencies]
tauri-build.workspace = true
[dependencies]
tauri = { workspace = true }
tauri-plugin-notification.workspace = true
tauri-plugin-shell.workspace = true
tauri-plugin-dialog.workspace = true
keyring.workspace = true
platform-nats = { path = "../platform-nats" }
async-nats.workspace = true
tokio.workspace = true
reqwest.workspace = true
serde = { workspace = true }
serde_json.workspace = true
toml.workspace = true
dirs.workspace = true
shellexpand.workspace = true
anyhow.workspace = true
thiserror.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
futures.workspace = true
chrono.workspace = true
[target.'cfg(unix)'.dependencies]
# Graceful SIGTERM to the supervised child daemon — tokio's Child::kill only sends SIGKILL.
libc = "0.2"
[features]
# dev — enables all Tauri devtools + verbose tracing
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]