Cargo Features
[dependencies]
k8s-openapi = { version = "0.26.0", default-features = false, features = ["std", "earliest", "v1_30", "v1_33", "v1_34", "latest", "schemars"] }
- default = std
-
The
stdfeature is set by default wheneverk8s-openapiis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Requires a dependency on the Rust standard library.
- earliest = v1_30
-
Each feature corresponds to a supported version of Kubernetes
- v1_30 earliest?
- v1_31 v1_32 v1_33
- v1_34 latest?
- latest = v1_34
- schemars
-
Enable
schemars::JsonSchemaimplementations on resource types.Enables schemars