Cargo Features
[dependencies]
loon = { version = "0.3.4", default-features = false, features = ["yaml", "toml"] }
- default = yaml
-
The
yaml
feature is set by default wheneverloon
is added without
somewhere in the dependency tree.default-features = false - yaml default = serde_yaml
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_yaml yaml
-
Enables serde_yaml ^0.8
- toml implicit feature
-
Enables toml ^0.5.6