chirpstack/api/rust/Cargo.toml

31 lines
820 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-06-29 13:10:50 +00:00
version = "4.0.0-test.7"
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]
2022-04-12 10:04:30 +00:00
prost = "0.10"
prost-types = "0.10"
pbjson = "0.3"
pbjson-types = "0.3"
hex = "0.4"
rand = "0.8"
2022-04-06 20:18:32 +00:00
2022-04-12 10:04:30 +00:00
tonic = { version = "0.7", features = ["codegen", "prost"], default-features = false }
tokio = { version = "1.17", features = ["macros"], optional = true }
2022-04-06 20:18:32 +00:00
serde = { version = "1.0" }
[build-dependencies]
2022-04-12 10:04:30 +00:00
tonic-build = { version = "0.7", features = ["prost"], default-features = false }
pbjson-build = "0.3"