2023-03-05 10:44:04 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-config"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
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 }
|
2025-05-22 15:02:23 -07:00
|
|
|
zbus = { version = "5.7.1", default-features = false, optional = true }
|
2023-11-16 07:59:20 -07:00
|
|
|
atomicwrites = { git = "https://github.com/jackpot51/rust-atomicwrites" }
|
2025-03-19 20:29:11 +01:00
|
|
|
calloop = { version = "0.14.2", optional = true }
|
|
|
|
|
notify = "8.0.0"
|
|
|
|
|
ron = "0.9.0"
|
|
|
|
|
serde = "1.0.219"
|
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 }
|
2025-03-19 20:29:11 +01:00
|
|
|
once_cell = "1.21.1"
|
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
|
2025-03-19 20:29:11 +01:00
|
|
|
tokio = { version = "1.44", optional = true, features = ["time"] }
|
|
|
|
|
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-03-19 20:29:11 +01:00
|
|
|
xdg = "2.5"
|
2023-12-26 22:09:53 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2025-03-19 20:29:11 +01:00
|
|
|
known-folders = "1.2.0"
|