[package]
name = "linkerd2-proxy-api"
version = "0.19.0"
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
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", "meta", "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 = [
"destination",
"grpc-route",
"http-route",
"meta",
"net",
"opaque-route",
"prost-types",
"tls-route",
"tonic/codegen",
]
meta = []
net = ["ipnet", "thiserror"]
opaque-route = []
tap = ["h2", "http-types", "net", "prost-types", "tonic/codegen"]
tls-route = []
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[dependencies]
h2 = { version = "0.4", optional = true }
http = { version = "1.2", optional = true }
ipnet = { version = "2", optional = true }
prost = "0.14"
prost-types = { version = "0.14", optional = true }
quickcheck = { version = "1", default-features = false, optional = true }
thiserror = { version = "2", optional = true }
tonic = { version = "0.14", default-features = false, features = ["channel"] }
tonic-prost = "0.14"
[dev-dependencies]
tonic-prost-build = "0.14"