Cargo Features

operator-framework has no features set by default.

[dependencies]
operator-framework = { version = "0.6.2", features = ["v1_16", "v1_17", "v1_18", "v1_19", "v1_20", "v1_21", "v1_22", "schemas"] }
v1_16

choose k8s API version, align with k8s-openapi features

Enables v1_16 of k8s-openapi ^0.14

v1_17

Enables v1_17 of k8s-openapi ^0.14

v1_18

Enables v1_18 of k8s-openapi ^0.14

v1_19

Enables v1_19 of k8s-openapi ^0.14

v1_20

Enables v1_20 of k8s-openapi ^0.14

v1_21

Enables v1_21 of k8s-openapi ^0.14

v1_22

Enables v1_22 of k8s-openapi ^0.14

schemas = schemars

Enables schemars of k8s-openapi ^0.14

k8s-openapi:

Enable schemars::JsonSchema implementations on resource types.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

schemars schemas?