-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
94 lines (79 loc) · 2.19 KB
/
Cargo.toml
File metadata and controls
94 lines (79 loc) · 2.19 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
89
90
91
92
93
94
[package]
name = "kube-fake-client"
version = "0.2.1"
edition = "2021"
authors = ["Rob Lyon <rob@ctxswitch.com>"]
description = "An implimentation of controller-runtime's fake client for rust"
license = "Apache-2.0"
repository = "https://github.com/ctxswitch/kube-fake-client-rs"
[lib]
name = "kube_fake_client"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "controller"
path = "examples/controller.rs"
[[example]]
name = "custom_resource"
path = "examples/custom_resource.rs"
[[example]]
name = "fixture_loading"
path = "examples/fixture_loading.rs"
[[example]]
name = "status_controller"
path = "examples/status_controller.rs"
[[example]]
name = "interceptors"
path = "examples/interceptors.rs"
[[example]]
name = "schema_validations"
path = "examples/schema_validations.rs"
required-features = ["validation"]
[[bin]]
name = "discovery-gen"
path = "bin/discovery-gen.rs"
[[bin]]
name = "immutable-gen"
path = "bin/immutable-gen.rs"
[dependencies]
kube = { version = "3.0", features = ["client", "derive", "jsonpatch"] }
k8s-openapi = { version = "0.27", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
schemars = "1.0"
tokio = { version = "1.49", features = ["full", "sync"] }
thiserror = "2.0"
async-trait = "0.1"
json-patch = "4.0"
tracing = "0.1"
uuid = { version = "1.19", features = ["v4"] }
jiff = "0.2"
rand = "0.10"
tower = "0.5"
http = "1.4"
http-body-util = "0.1"
bytes = "1.11"
futures = "0.3"
urlencoding = "2.1"
clap = { version = "4.5", features = ["derive"] }
reqwest = { version = "0.13", features = ["blocking"] }
tera = { version = "1.20" }
jsonschema = "0.45"
once_cell = "1.20"
phf = { version = "0.13", features = ["macros"] }
[features]
default = ["v1_31"]
# Kubernetes API version features - only one should be enabled at a time
v1_31 = ["k8s-openapi/v1_31"]
v1_32 = ["k8s-openapi/v1_32"]
v1_33 = ["k8s-openapi/v1_33"]
v1_34 = ["k8s-openapi/v1_34"]
v1_35 = ["k8s-openapi/v1_35"]
# Additional features
validation = [] # Enable OpenAPI schema validation with automatic lazy loading
[dev-dependencies]
tokio-test = "0.4"
criterion = { version = "0.8", features = ["async_tokio"] }