chirpstack/api/rust/Cargo.toml

37 lines
1.0 KiB
TOML
Raw Normal View History

2022-04-06 20:18:32 +00:00
[package]
2024-06-25 11:27:28 +00:00
name = "chirpstack_api"
description = "ChirpStack Protobuf / gRPC API definitions."
2024-08-15 08:06:19 +00:00
version = "4.9.0"
2024-06-25 11:27:28 +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]
2024-06-25 11:27:28 +00:00
default = ["api", "json"]
api = ["tonic/transport", "tonic-build/transport", "tokio"]
json = ["pbjson", "pbjson-types", "serde"]
internal = []
2022-04-06 20:18:32 +00:00
[dependencies]
prost = "0.13"
prost-types = "0.13"
2024-06-25 11:27:28 +00:00
hex = "0.4"
rand = "0.8"
2022-04-06 20:18:32 +00:00
tonic = { version = "0.12", features = [
2024-06-25 11:27:28 +00:00
"codegen",
"prost",
], default-features = false, optional = true }
tokio = { version = "1.38", features = ["macros"], optional = true }
pbjson = { version = "0.7", optional = true }
pbjson-types = { version = "0.7", optional = true }
2024-06-25 11:27:28 +00:00
serde = { version = "1.0", optional = true }
2022-04-06 20:18:32 +00:00
[build-dependencies]
tonic-build = { version = "0.12", features = [
2024-06-25 11:27:28 +00:00
"prost",
], default-features = false }
pbjson-build = "0.7"