mirror of https://github.com/linkerd/linkerd2.git
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
name = "linkerd-policy-controller"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
|
|
[features]
|
|
default = ["native-tls"]
|
|
native-tls = ["kube/native-tls"]
|
|
rustls-tls = ["kube/rustls-tls"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "3", default-features = false, features = ["derive", "env", "std"] }
|
|
drain = "0.1"
|
|
futures = { version = "0.3", default-features = false }
|
|
hyper = { version = "0.14", features = ["http1", "http2", "runtime", "server"] }
|
|
kube = { version = "0.69", default-features = false, features = ["admission", "client"] }
|
|
linkerd-policy-controller-core = { path = "./core" }
|
|
linkerd-policy-controller-grpc = { path = "./grpc" }
|
|
linkerd-policy-controller-k8s-index = { path = "./k8s/index" }
|
|
linkerd-policy-controller-k8s-api = { path = "./k8s/api" }
|
|
rustls = { version = "0.20", default-features = false }
|
|
rustls-pemfile = "0.2"
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = [
|
|
"fs",
|
|
"macros",
|
|
"parking_lot",
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
"sync",
|
|
] }
|
|
tokio-rustls = { version = "0.23", default-features = false }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = [
|
|
"env-filter",
|
|
"fmt",
|
|
"json",
|
|
"smallvec",
|
|
"tracing-log",
|
|
] }
|
|
|
|
[target.x86_64-unknown-linux-gnu.dependencies]
|
|
jemallocator = "0.3"
|