[package] name = "chirpstack_api" description = "ChirpStack Protobuf / gRPC API definitions." version = "4.5.1" authors = ["Orne Brocaar "] license = "MIT" homepage = "https://www.chirpstack.io" repository = "https://github.com/chirpstack/chirpstack" edition = "2021" [features] default = ["api", "json"] api = ["tonic/transport", "tonic-build/transport", "tokio"] json = ["pbjson", "pbjson-types", "serde"] internal = [] [dependencies] prost = "0.12" prost-types = "0.12" hex = "0.4" rand = "0.8" tonic = { version = "0.10", features = ["codegen", "prost"], default-features = false, optional = true } tokio = { version = "1.32", features = ["macros"], optional = true } pbjson = { version = "0.6", optional = true } pbjson-types = { version = "0.6", optional = true } serde = { version = "1.0", optional = true } [build-dependencies] tonic-build = { version = "0.10", features = ["prost"], default-features = false } pbjson-build = "0.6"