Cargo Features
[dependencies]
integra8_serde_formatter = { version = "0.0.5-rc1", default-features = false, features = ["yaml", "json"] }
- default = yaml
-
The
yaml
feature is set by default wheneverintegra8_serde_formatter
is added without
somewhere in the dependency tree.default-features = false - yaml default = serde_yaml
- json = serde_json
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.
- serde_json json?
- serde_yaml yaml
-
Enables serde_yaml ^0.8