Cargo Features
[dependencies]
universal-config = { version = "0.5.1", default-features = false, features = ["json", "yaml", "corn", "xml", "ron", "kdl", "save", "toml"] }
- default = corn, json, kdl, ron, toml, xml, yaml
-
These default features are set whenever
universal-config
is added without
somewhere in the dependency tree.default-features = false - json default = save
-
aliases
toml does not need to be explicitly included as the dep provides a featureEnables serde_json
optional
- yaml default = save
-
Enables serde_yaml
- corn default
-
Enables libcorn
- xml default = save
-
Enables serde-xml-rs
- ron default = save
-
Enables ron
- kdl default
-
Enables kaydle
- save json ron xml yaml
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- toml default