forked from linkerd/linkerd2-proxy-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (59 loc) · 1.6 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "linkerd2-proxy-api"
version = "0.14.0"
authors = ["Linkerd Developers <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
description = "Linkerd Proxy API gRPC bindings and utilities"
homepage = "https://linkerd.io"
repository = "https://github.com/linkerd/linkerd2-proxy-api"
documentation = "https://docs.rs/linkerd2-proxy-api"
keywords = ["linkerd", "grpc", "servicemesh"]
rust-version = "1.59"
[features]
default = []
arbitrary = ["quickcheck"]
destination = ["http-types", "net", "prost-types", "tonic/codegen"]
grpc-route = ["http-route"]
http-route = ["http-types"]
http-types = ["http", "thiserror"]
identity = ["prost-types", "tonic/codegen"]
inbound = [
"grpc-route",
"http-route",
"meta",
"net",
"prost-types",
"tonic/codegen",
]
outbound = [
"grpc-route",
"destination",
"http-route",
"meta",
"net",
"prost-types",
"tonic/codegen",
]
meta = []
net = ["ipnet", "thiserror"]
tap = ["h2", "http-types", "net", "prost-types", "tonic/codegen"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[dependencies]
h2 = { version = "0.3", optional = true }
http = { version = "0.2", optional = true }
ipnet = { version = "2", optional = true }
prost = "0.12"
prost-types = { version = "0.12", optional = true }
quickcheck = { version = "1", default-features = false, optional = true }
thiserror = { version = "1", optional = true }
[dependencies.tonic]
version = "0.10"
default-features = false
features = ["prost"]
[dev-dependencies.tonic-build]
version = "0.10"
default-features = false
features = ["prost"]