[package] name = "ctms-desktop" version = "0.1.0" description = "CTMS desktop client" authors = ["Huapont"] edition = "2021" [lib] name = "ctms_desktop_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = [] } tauri-plugin-dialog = "2" tauri-plugin-fs = "2" tauri-plugin-notification = "2" tauri-plugin-opener = "2" tauri-plugin-single-instance = "2" tauri-plugin-updater = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10" time = { version = "=0.3.36", default-features = false, features = ["std", "parsing", "formatting", "macros"] } url = "2" [target.'cfg(target_os = "macos")'.dependencies] keyring = { version = "4.1.2", default-features = false, features = ["v1", "apple-native-keyring-store"] } [target.'cfg(windows)'.dependencies] keyring = { version = "4.1.2", default-features = false, features = ["v1", "windows-native-keyring-store"] } [features] default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"]