Cargo Features
[dependencies]
dns_common = { version = "0.2.1", default-features = false, features = ["yaml", "json"] }
- default = yaml
-
The
yaml
feature is set by default wheneverdns_common
is added without
somewhere in the dependency tree.default-features = false - yaml default
-
Enables serde_yaml
Affects
deser::yaml_from_str
,deser::to_yaml_str
… - json
-
Enables serde_json
Affects
deser::json_from_path
,deser::json_from_str
…