2022-04-06 20:18:32 +00:00
|
|
|
[package]
|
|
|
|
name = "chirpstack_api"
|
|
|
|
description = "ChirpStack Protobuf / gRPC API definitions."
|
2024-03-13 10:00:37 +00:00
|
|
|
version = "4.7.0"
|
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"
|
2022-04-11 14:06:50 +00:00
|
|
|
edition = "2021"
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
[features]
|
2023-03-28 20:11:54 +00:00
|
|
|
default = ["api", "json"]
|
2022-04-06 20:18:32 +00:00
|
|
|
api = ["tonic/transport", "tonic-build/transport", "tokio"]
|
2023-03-28 20:11:54 +00:00
|
|
|
json = ["pbjson", "pbjson-types", "serde"]
|
2024-02-27 16:17:15 +00:00
|
|
|
diesel = ["dep:diesel"]
|
2022-04-06 20:18:32 +00:00
|
|
|
internal = []
|
|
|
|
|
|
|
|
[dependencies]
|
2023-09-18 15:21:22 +00:00
|
|
|
prost = "0.12"
|
|
|
|
prost-types = "0.12"
|
2022-04-21 10:42:28 +00:00
|
|
|
hex = "0.4"
|
|
|
|
rand = "0.8"
|
2022-04-06 20:18:32 +00:00
|
|
|
|
2023-09-18 15:21:22 +00:00
|
|
|
tonic = { version = "0.10", features = ["codegen", "prost"], default-features = false, optional = true }
|
2023-09-04 13:10:15 +00:00
|
|
|
tokio = { version = "1.32", features = ["macros"], optional = true }
|
2023-09-18 15:21:22 +00:00
|
|
|
pbjson = { version = "0.6", optional = true }
|
|
|
|
pbjson-types = { version = "0.6", optional = true }
|
2023-03-28 20:11:54 +00:00
|
|
|
serde = { version = "1.0", optional = true }
|
2024-02-27 16:17:15 +00:00
|
|
|
diesel = { version = "2.1", features = ["postgres_backend"], optional = true }
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-09-18 15:21:22 +00:00
|
|
|
tonic-build = { version = "0.10", features = ["prost"], default-features = false }
|
|
|
|
pbjson-build = "0.6"
|