Cargo Features
[dependencies]
storm-config = { version = "0.28.64", default-features = false, features = ["async", "convert-case", "ini", "json5", "preserve_order", "yaml", "ron", "serde_derive", "toml"] }
- default = async, convert-case, ini, json5, ron, toml, yaml
-
These default features are set whenever
storm-configis added withoutsomewhere in the dependency tree.default-features = false - async default = async-trait
-
Affects
source::AsyncSource… - convert-case default = convert_case
- ini default = rust-ini
- json5 default = json5_rs
-
Enables serde
- preserve_order = indexmap
-
Enables indexmap of optional ron ^0.8.1 and preserve_order of serde_json and optional toml ^0.8.14
serde_json:
Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.Affects
map::Map… - yaml default = yaml-rust
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.
- async-trait async
- convert_case convert-case
-
Enables convert_case ^0.6.0
- indexmap preserve_order?
- json5_rs json5
-
Enables json5 ^0.4.1
- ron default
-
Enables ron ^0.8.1
- rust-ini ini
- serde_derive implicit feature
-
Enables serde_derive
serde_derive:
Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
- toml default
-
Enables toml ^0.8.14
- yaml-rust yaml