chirpstack/api/rust/Cargo.toml
2022-12-16 09:44:47 +00:00

31 lines
813 B
TOML
Vendored

[package]
name = "chirpstack_api"
description = "ChirpStack Protobuf / gRPC API definitions."
version = "4.1.2"
authors = ["Orne Brocaar <info@brocaar.com>"]
license = "MIT"
homepage = "https://www.chirpstack.io"
repository = "https://github.com/chirpstack/chirpstack"
edition = "2021"
[features]
default = ["api"]
api = ["tonic/transport", "tonic-build/transport", "tokio"]
internal = []
[dependencies]
prost = "0.11"
prost-types = "0.11"
pbjson = "0.5"
pbjson-types = "0.5"
hex = "0.4"
rand = "0.8"
tonic = { version = "0.8", features = ["codegen", "prost"], default-features = false }
tokio = { version = "1.21", features = ["macros"], optional = true }
serde = { version = "1.0" }
[build-dependencies]
tonic-build = { version = "0.8", features = ["prost"], default-features = false }
pbjson-build = "0.5"