-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (63 loc) · 1.81 KB
/
Cargo.toml
File metadata and controls
71 lines (63 loc) · 1.81 KB
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
65
66
67
68
69
70
71
[package]
name = "linkerd-policy-controller"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
publish = false
[features]
default = ["openssl-tls", "openssl-vendored"]
openssl-tls = ["kube/openssl-tls"]
# Vendor openssl to statically link lib
openssl-vendored = ["openssl/vendored"]
rustls-tls = ["kube/rustls-tls"]
[dependencies]
anyhow = "1"
async-trait = "0.1"
drain = "0.1"
futures = { version = "0.3", default-features = false }
k8s-openapi = { version = "0.20", features = ["v1_22"] }
hyper = { version = "0.14", features = ["http1", "http2", "runtime", "server"] }
ipnet = { version = "2", default-features = false }
linkerd-policy-controller-core = { path = "./core" }
linkerd-policy-controller-grpc = { path = "./grpc" }
linkerd-policy-controller-k8s-api = { path = "./k8s/api" }
openssl = { version = "0.10.68", optional = true }
linkerd-policy-controller-k8s-index = { path = "./k8s/index" }
linkerd-policy-controller-k8s-status = { path = "./k8s/status" }
parking_lot = "0.12"
prometheus-client = { version = "0.22.3", default-features = false }
serde = "1"
serde_json = "1"
thiserror = "1"
tokio-stream = { version = "0.1", features = ["sync"] }
tracing = "0.1"
regex = "1"
[dependencies.clap]
version = "4"
default-features = false
features = ["derive", "env", "std"]
[dependencies.kube]
version = "0.87.1"
default-features = false
features = ["admission", "derive"]
[dependencies.kubert]
version = "0.21.2"
default-features = false
features = [
"clap",
"index",
"lease",
"prometheus-client",
"runtime",
"server",
"rustls-tls",
]
[dependencies.tokio]
version = "1"
features = ["macros", "parking_lot", "rt", "rt-multi-thread", "signal"]
[dependencies.tonic]
version = "0.10"
default-features = false
features = ["transport"]
[target.x86_64-unknown-linux-gnu.dependencies]
jemallocator = "0.5"