-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (70 loc) · 2.52 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (70 loc) · 2.52 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "flux9s"
version = "0.4.3"
edition = "2021"
authors = ["Dan Guns <danbguns@gmail.com>"]
description = "A K9s-inspired terminal UI for monitoring Flux GitOps resources"
license = "Apache-2.0"
repository = "https://github.com/dgunzy/flux9s"
homepage = "https://github.com/dgunzy/flux9s"
documentation = "https://docs.rs/flux9s"
keywords = ["kubernetes", "flux", "gitops", "tui", "k9s"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# Kubernetes client with HTTP proxy support - use openssl-tls for better cert support
kube = { version = "2.0.1", default-features=false, features = ["client", "runtime", "derive", "http-proxy", "openssl-tls"] }
# k8s-openapi version feature - must match kube-rs version
k8s-openapi = { version = "0.26.0", default-features = false, features = [
"v1_31",
] }
# Async runtime
tokio = { version = "1.35", features = ["full"] }
futures = "0.3"
# TUI framework
ratatui = "0.26"
crossterm = "0.28"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
async-trait = "0.1"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
url = "2.5"
tempfile = "3.10"
directories = "5.0"
# CLI argument parsing
clap = { version = "4.5", features = ["derive"] }
# Logging (tracing is already a transitive dependency via kube-rs, but we need it explicitly for macros)
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "ansi"] }
[dev-dependencies]
# Testing
mockall = "0.12"
[package.metadata.binstall]
# cargo-binstall configuration for pre-built binary installation
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-linux-x86_64.{ archive-format }"
[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-macos-x86_64.{ archive-format }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-windows-x86_64.{ archive-format }"
pkg-fmt = "zip"
[[test]]
name = "crd_compatibility"
path = "tests/crd_compatibility.rs"
[[test]]
name = "resource_registry"
path = "tests/resource_registry.rs"
[[test]]
name = "field_extraction"
path = "tests/field_extraction.rs"
[[test]]
name = "trace_tests"
path = "tests/trace_tests.rs"