[package]
name = "cosmic-config"
version = "0.1.0"
edition = "2021"

[features]
default = ["macro", "subscription"]
macro = ["cosmic-config-derive"]
subscription = ["iced_futures"]

[dependencies]
# For redox support
atomicwrites = { git = "https://github.com/jackpot51/rust-atomicwrites" }
calloop = { version = "0.12.2", optional = true }
dirs = "5.0.1"
notify = "6.0.0"
ron = "0.8.0"
serde = "1.0.152"
cosmic-config-derive = { path = "../cosmic-config-derive/", optional = true }
iced = { path = "../iced/", default-features = false,  optional = true }
iced_futures = { path = "../iced/futures/", default-features = false, optional = true }

