Cargo Features

[dependencies]
dns_common = { version = "0.2.1", default-features = false, features = ["yaml", "json"] }
default = yaml

The yaml feature is set by default whenever dns_common is added without default-features = false somewhere in the dependency tree.

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