mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 19:21:03 +02:00
refactor(config): use universal-config
crate.
XML config is not supported.
This commit is contained in:
parent
01a36a9476
commit
ecdd71a43d
4 changed files with 112 additions and 176 deletions
15
Cargo.toml
15
Cargo.toml
|
@ -20,10 +20,10 @@ default = [
|
|||
http = ["dep:reqwest"]
|
||||
|
||||
"config+all" = ["config+json", "config+yaml", "config+toml", "config+corn"]
|
||||
"config+json" = ["serde_json"]
|
||||
"config+yaml" = ["serde_yaml"]
|
||||
"config+toml" = ["toml"]
|
||||
"config+corn" = ["libcorn"]
|
||||
"config+json" = ["universal-config/json"]
|
||||
"config+yaml" = ["universal-config/yaml"]
|
||||
"config+toml" = ["universal-config/toml"]
|
||||
"config+corn" = ["universal-config/corn"]
|
||||
|
||||
clipboard = ["nix"]
|
||||
|
||||
|
@ -63,6 +63,7 @@ notify = { version = "5.0.0", default-features = false }
|
|||
wayland-client = "0.29.5"
|
||||
wayland-protocols = { version = "0.29.5", features = ["unstable_protocols", "client"] }
|
||||
smithay-client-toolkit = { version = "0.16.0", default-features = false, features = ["calloop"] }
|
||||
universal-config = { version = "0.2.1", default_features = false }
|
||||
|
||||
lazy_static = "1.4.0"
|
||||
async_once = "0.2.6"
|
||||
|
@ -71,12 +72,6 @@ cfg-if = "1.0.0"
|
|||
# http
|
||||
reqwest = { version = "0.11.14", optional = true }
|
||||
|
||||
# config
|
||||
serde_json = { version = "1.0.82", optional = true }
|
||||
serde_yaml = { version = "0.9.4", optional = true }
|
||||
toml = { version = "0.7.0", optional = true }
|
||||
libcorn = { version = "0.6.1", optional = true }
|
||||
|
||||
# clipboard
|
||||
nix = { version = "0.26.2", optional = true }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue