Cargo Features
[dependencies]
netplan-types = { version = "0.5.0", default-features = false, features = ["builder", "schemars", "serde"] }
- default = serde
-
The
serde
feature is set by default whenevernetplan-types
is added without
somewhere in the dependency tree.default-features = false - builder = derive_builder
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.
- derive_builder builder?
-
Enables derive_builder ^0.12
- schemars implicit feature
-
Enables schemars
schemars:
Generate JSON Schemas from Rust code
- serde default