Cargo Features
[dependencies]
k8s-openapi = { version = "0.27.1", default-features = false, features = ["std", "earliest", "v1_31", "v1_34", "v1_35", "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_31
-
Each feature corresponds to a supported version of Kubernetes
- v1_31 earliest?
- v1_32 v1_33 v1_34
- v1_35 latest?
- latest = v1_35
- schemars
-
Enable
schemars::JsonSchemaimplementations on resource types.Enables schemars