Cargo Features
[dependencies]
folketinget-api-models = { version = "0.2.0", default-features = false, features = ["enable-serde", "reflection"] }
- default = enable-serde, reflection
-
These default features are set whenever
folketinget-api-models
is added without
somewhere in the dependency tree.default-features = false - enable-serde default = serde
- reflection default
-
Affects
folketinget-api-models::OpenDataModel
,folketinget-api-models::OpenDataType
,folketinget-api-models::models.entity_types
…
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.