-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
52 lines (42 loc) · 1.19 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
[package]
name = "kube-forward"
version = "0.2.0"
edition = "2021"
authors = ["Gabriel <[email protected]>"]
description = "A persistent port-forward manager for Kubernetes"
[[bin]]
doc = false
name = "kube-forward"
path = "src/main.rs"
[lib]
path = "src/lib.rs"
[dependencies]
# Kubernetes dependencies
kube = { version = "0.98.0", features = ["runtime", "derive", "client", "config", "ws"] }
k8s-openapi = { version = "0.24.0", features = ["latest"] }
# Async runtime
tokio = { version = "1.35.1", features = ["full"] }
# Error handling
anyhow = "1.0.79"
thiserror = "2.0.11"
# Configuration
serde = { version = "1.0.195", features = ["derive"] }
serde_yaml = "0.9.30"
# Logging
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
# CLI
clap = { version = "4.4.13", features = ["derive"] }
metrics = "0.21"
metrics-exporter-prometheus = "0.12"
chrono = { version = "0.4", features = ["serde"] }
ctrlc = "3.4"
humantime-serde = "1.1.1"
futures = "0.3"
tokio-stream = { version = "0.1.17", features = ["full"] }
socket2 = "0.5.8"
tempfile = "3.15.0"
[dev-dependencies]
tokio-test = "0.4.3"
tokio = { version = "1.0", features = ["full", "test-util"] }
metrics-util = "0.15"