chirpstack/api/rust/Cargo.toml

31 lines
813 B
TOML
Raw Normal View History

2022-04-06 20:18:32 +00:00
[package]
name = "chirpstack_api"
description = "ChirpStack Protobuf / gRPC API definitions."
2022-12-13 13:48:42 +00:00
version = "4.1.1"
2022-04-06 20:18:32 +00:00
authors = ["Orne Brocaar <info@brocaar.com>"]
license = "MIT"
homepage = "https://www.chirpstack.io"
repository = "https://github.com/chirpstack/chirpstack"
edition = "2021"
2022-04-06 20:18:32 +00:00
[features]
2022-04-12 09:23:02 +00:00
default = ["api"]
2022-04-06 20:18:32 +00:00
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"
2022-04-06 20:18:32 +00:00
tonic = { version = "0.8", features = ["codegen", "prost"], default-features = false }
tokio = { version = "1.21", features = ["macros"], optional = true }
2022-04-06 20:18:32 +00:00
serde = { version = "1.0" }
[build-dependencies]
tonic-build = { version = "0.8", features = ["prost"], default-features = false }
pbjson-build = "0.5"