-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (51 loc) · 1.53 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
[package]
name = "epok"
description = "External port operator for Kubernetes"
authors = ["Rareș <[email protected]>"]
version = "0.10.4"
edition = "2021"
publish = ["getbetter"]
[[bin]]
name = "epok"
path = "src/main.rs"
[[bin]]
name = "epok-clean"
path = "src/bin/cleanup.rs"
[dependencies]
anyhow = "1.0.83"
backoff = "0.4.0"
clap = { version = "4.5.4", features = ["cargo", "derive", "env"] }
cmd_lib = "1.9.3"
enum_dispatch = "0.3.13"
futures = "0.3.30"
itertools = "0.13.0"
k8s-openapi = { version = "0.23.0", features = ["schemars", "v1_26"] }
lazy_static = "1.4.0"
pin-project = "1.1.5"
sha256 = "1.5.0"
thiserror = "1.0.59"
tokio = { version = "1.37.0", features = ["full", "test-util"] }
tokio-stream = "0.1.15"
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
# easier to use rust-tls for musl builds
[target.'cfg(any(target_env = "musl", target_arch = "powerpc64", target_arch = "s390x"))'.dependencies.kube]
version = "0.95.0"
default-features = false
features = ["client", "rustls-tls", "runtime"]
[target.'cfg(not(any(target_env = "musl", target_arch = "powerpc64", target_arch = "s390x")))'.dependencies.kube]
version = "0.95.0"
default-features = false
features = ["client", "openssl-tls", "runtime"]
[dev-dependencies]
quickcheck = { version = "1.0.3", default-features = false }
[profile.release]
opt-level = 3
lto = false
strip = true
[profile.smol]
inherits = "release"
opt-level = "z"
lto = true
panic = "abort"
codegen-units = 1