Cargo Features

[dependencies]
chirpstack_api = { version = "4.8.0-test.2", default-features = false, features = ["api", "json", "diesel", "internal"] }
default = api, json

These default features are set whenever chirpstack_api is added without default-features = false somewhere in the dependency tree.

api default = tokio

Enables transport of tonic and tonic-build

Affects chirpstack_api::api

json default = pbjson, pbjson-types, serde
diesel

Enables diesel

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.

tonic api
tokio api
pbjson json
pbjson-types json
serde json