[package] name = "more-config" version = "2.1.5" edition = "2018" rust-version = "1.60" authors = ["Chris Martinez "] description = "Provides support for configuration" keywords = ["more", "configuration", "config"] license = "MIT" readme = "README.md" homepage = "https://commonsensesoftware.github.io/more-rs-config/" repository = "https://github.com/commonsensesoftware/more-rs-config" include = ["*.rs", "!build.rs", "README.md"] # RUSTDOCFLAGS="--cfg docsrs"; cargo +nightly doc [package.metadata.docs.rs] features = ["std", "chained", "mem", "env", "cmd", "ini", "json", "xml", "binder"] rustdoc-args = ["--cfg", "docsrs"] [lib] name = "config" path = "lib.rs" doctest = false [features] default = ["std"] async = [] util = [] std = ["util"] chained = ["util"] mem = ["util"] env = ["util"] cmd = ["util"] ini = ["util", "dep:configparser", "more-changetoken/fs"] binder = ["dep:serde"] json = ["util", "dep:serde_json", "more-changetoken/fs"] xml = ["util", "dep:xml_rs", "more-changetoken/fs"] all = ["std", "chained", "mem", "env", "cmd", "ini", "binder", "json", "xml"] [dependencies] more-changetoken = "2.0" configparser = { version = "3.0", optional = true } serde = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } xml_rs = { version = "0.8", package = "xml", optional = true } cfg-if = "1.0" [dev-dependencies] test-case = "2.2" [dev-dependencies.more-config] path = "." features = ["cmd", "json"]