Cargo Features
[dependencies]
poststation-api-icd = { version = "0.3.0", default-features = false, features = ["rest-api", "schemars-v0_8"] }
- default = rest-api
-
The
rest-api
feature is set by default wheneverpoststation-api-icd
is added without
somewhere in the dependency tree.default-features = false - rest-api default = schemars-v0_8, serde_json
-
Affects
poststation-api-icd::rest
… - schemars-v0_8 rest-api
-
Enables schemars
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.