onyx-tasks/crates/onyx-core/Cargo.toml
Tristan Michael 326ebd83d8 Gate desktop-only deps for Tauri Android compilation
Make keyring optional behind keyring-storage feature in onyx-core.
Make notify/notify-debouncer-mini optional behind desktop feature in Tauri.
Gate all file watcher code behind #[cfg(not(target_os = "android"))].
Provide env-var-only credential fallbacks when keyring is disabled.
2026-04-01 17:35:57 -07:00

30 lines
797 B
TOML

[package]
name = "onyx-core"
version = "0.1.0"
edition = "2021"
description = "Core library for local-first task management with markdown storage and WebDAV sync"
license = "GPL-3.0-or-later"
repository = "https://github.com/SteelDynamite/onyx"
[features]
default = ["keyring-storage"]
keyring-storage = ["keyring"]
[dependencies]
serde = { workspace = true }
serde_json = "1.0"
serde_yaml = "0.9"
uuid = { workspace = true }
chrono = { workspace = true }
directories = "5.0"
reqwest = { workspace = true }
sha2 = { workspace = true }
quick-xml = { workspace = true }
tokio = { workspace = true }
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service"], optional = true }
[dev-dependencies]
tempfile = "3.0"
wiremock = "0.6"
tokio = { workspace = true }