feat(config): Add basic XDG config file path support
... | ... | @@ -13,9 +13,11 @@ clap = "3.1" |
pretty_env_logger = "0.4" | ||
figment = { version = "0.10", features = ["toml", "env"] } | ||
lazy_static = { version = "1.4", optional = true } | ||
xdg = { version = "2.4", optional = true } | ||
[features] | ||
default = ["config-yaml", "config-json", "thread"] | ||
default = ["config-yaml", "config-json", "thread", "xdg"] | ||
config-yaml = ["figment/yaml"] | ||
config-json = ["figment/json"] | ||
thread = ["lazy_static"] | ||
\ No newline at end of file | ||
thread = ["lazy_static"] | ||
xdg = ["dep:xdg"] | ||
\ No newline at end of file |
Please register or sign in to comment