-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (60 loc) · 1.66 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (60 loc) · 1.66 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
[package]
name = "sonarr-operator"
version = "0.2.0"
edition = "2024"
authors = ["DevOpsArr"]
description = "Kubernetes Operator for Sonarr written in Rust using kube-rs"
license = "GPL-3.0"
repository = "https://github.com/devopsarr/k8s-operator-sonarr"
keywords = ["kubernetes", "operator", "sonarr", "kube-rs"]
[lib]
name = "sonarr_operator"
path = "src/lib.rs"
[dependencies]
# Kubernetes client and runtime
kube = { version = "3.0.0", features = ["runtime", "derive", "client", "rustls-tls"], default-features = false }
k8s-openapi = { version = "0.27.0", features = ["latest", "schemars"] }
# Crypto provider for rustls (required at runtime)
rustls = { version = "0.23", default-features = false, features = ["ring"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
futures = "0.3"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# JSON Schema generation for CRDs
schemars = "1"
# Sonarr API client
sonarr = { version = "0.1" }
# Error handling
thiserror = "2"
anyhow = "1"
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Base64 encoding for secrets
base64 = "0.22"
[dev-dependencies]
assert-json-diff = "2"
reqwest = { version = "0.12", features = ["json"] }
anyhow = "1"
[[bin]]
name = "sonarr-operator"
path = "src/main.rs"
[[bin]]
name = "crdgen"
path = "src/bin/crdgen.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[[test]]
name = "e2e"
path = "tests/e2e/main.rs"
[profile.release]
lto = true
codegen-units = 1
opt-level = "z"
strip = true