[package] name = "linkerd2-proxy-api" version = "0.15.0" authors = ["Linkerd Developers "] 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.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"]