Cargo Features
[dependencies]
chirpstack_api = { version = "4.10.1", default-features = false, features = ["api", "json", "internal"] }
- default = api, json
-
These default features are set whenever
chirpstack_api
is added without
somewhere in the dependency tree.default-features = false - api default = tokio
-
Enables transport of tonic and tonic-build
Affects
chirpstack_api::api
… - json default = pbjson, pbjson-types, serde
- internal
-
Affects
chirpstack_api::internal
…
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.