Cargo Features
[dependencies]
sample-config = { version = "0.2.0", default-features = false, features = ["json", "tracing", "url", "yaml"] }
- default = json, yaml
-
These default features are set whenever
sample-config
is added without
somewhere in the dependency tree.default-features = false - json default
-
Enables json of sample-config-macros
Affects
sample-config::SampleConfig.generate_sample_json
… - tracing
-
Enables tracing
- url
-
Enables url
- yaml default
-
Enables yaml of sample-config-macros
Affects
sample-config::SampleConfig.generate_sample_yaml
…