Cargo Features
[dependencies]
pdl = { version = "0.1.1", default-features = false, features = ["parse", "display", "to_json"] }
- default = display, parse, to_json
-
These default features are set whenever
pdl
is added without
somewhere in the dependency tree.default-features = false - parse default = log, nom
- display default = indented
- to_json default = serde, 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.