forked from bpowers/rust-envoy-control-plane
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
34 lines (29 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "envoy-control-plane"
version = "0.4.0"
license = "Apache-2.0"
edition = "2021"
build = "build.rs"
description = "Envoy xDS v3 APIs"
repository = "https://github.com/bpowers/rust-envoy-control-plane"
[dependencies]
prost = "^0.11"
prost-wkt-types = { version = "^0.4", optional = true }
tonic = { version = "^0.9", default-features = false, optional = true }
pbjson = { version = "^0.5", optional = true }
pbjson-types = { version = "^0.5", optional = true }
serde = { version = "^1", features = ["derive"], optional = true }
typetag = { version = "^0.2", optional = true }
[build-dependencies]
prost-build = "^0.11"
tonic-build = { version = "^0.9", optional = true }
pbjson-build = { version = "^0.5", optional = true }
[dev-dependencies]
serde_json = "1"
[features]
grpc = ["tonic/codegen", "tonic/prost", "tonic/transport", "tonic-build"]
json = ["pbjson", "pbjson-build", "pbjson-types", "prost-wkt-types", "serde", "typetag"]
default = ["grpc", "json"]
[patch.crates-io]
pbjson = { git = "https://github.com/kaizensparc/pbjson", branch = "fix-envoy" }
pbjson-build = { git = "https://github.com/kaizensparc/pbjson", branch = "fix-envoy" }