2023-03-05 10:44:04 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-config"
|
2026-01-28 00:49:48 +01:00
|
|
|
version = "1.0.0"
|
2025-09-03 20:22:06 +02:00
|
|
|
edition = "2024"
|
2023-03-05 10:44:04 -07:00
|
|
|
|
2023-05-30 12:03:15 -04:00
|
|
|
[features]
|
|
|
|
|
default = ["macro", "subscription"]
|
2023-12-15 17:00:08 -05:00
|
|
|
dbus = ["dep:zbus", "cosmic-settings-daemon", "futures-util", "subscription"]
|
2023-05-30 12:03:15 -04:00
|
|
|
macro = ["cosmic-config-derive"]
|
|
|
|
|
subscription = ["iced_futures"]
|
|
|
|
|
|
2023-03-05 10:44:04 -07:00
|
|
|
[dependencies]
|
2024-05-16 15:36:53 -04:00
|
|
|
cosmic-settings-daemon = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
2026-01-28 00:49:48 +01:00
|
|
|
zbus = { version = "5.13.2", default-features = false, optional = true }
|
2023-11-16 07:59:20 -07:00
|
|
|
atomicwrites = { git = "https://github.com/jackpot51/rust-atomicwrites" }
|
2025-09-03 20:08:49 +02:00
|
|
|
calloop = { version = "0.14.3", optional = true }
|
|
|
|
|
notify = "8.2.0"
|
2026-01-28 00:49:48 +01:00
|
|
|
ron = "0.12.0"
|
2026-01-14 18:46:53 +01:00
|
|
|
serde = "1.0.228"
|
2023-05-30 12:03:15 -04:00
|
|
|
cosmic-config-derive = { path = "../cosmic-config-derive/", optional = true }
|
2024-05-12 14:17:43 -04:00
|
|
|
iced = { path = "../iced/", default-features = false, optional = true }
|
2023-09-29 17:24:59 -04:00
|
|
|
iced_futures = { path = "../iced/futures/", default-features = false, optional = true }
|
2023-12-15 17:00:08 -05:00
|
|
|
futures-util = { version = "0.3", optional = true }
|
2024-01-30 19:20:35 -05:00
|
|
|
dirs.workspace = true
|
2026-01-14 18:46:53 +01:00
|
|
|
tokio = { version = "1.49", optional = true, features = ["time"] }
|
2025-03-19 20:29:11 +01:00
|
|
|
async-std = { version = "1.13", optional = true }
|
2024-05-12 14:17:43 -04:00
|
|
|
tracing = "0.1"
|
2023-12-26 22:09:53 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2025-09-03 20:08:49 +02:00
|
|
|
xdg = "3.0"
|
2023-12-26 22:09:53 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2026-01-14 18:46:53 +01:00
|
|
|
known-folders = "1.4.0"
|