Cargo Features

[dependencies]
openshift-openapi = { version = "0.3.1", default-features = false, features = ["api", "v4_2", "v4_3", "v4_4", "v4_5"] }
default = api

The api feature is set by default whenever openshift-openapi is added without default-features = false somewhere in the dependency tree.

api default = http, percent-encoding, url

Affects deployment_config::ReadNamespacedDeploymentConfigOptional, deployment_config::ReadNamespacedDeploymentConfigResponse, deployment_config::ReadNamespacedDeploymentConfigStatusOptional, deployment_config::ReadNamespacedDeploymentConfigStatusResponse, deployment_log::ReadNamespacedDeploymentConfigLogOptional, deployment_log::ReadNamespacedDeploymentConfigLogResponse, cluster_role::ReadClusterRoleOptional, cluster_role::ReadClusterRoleResponse, cluster_role_binding::ReadClusterRoleBindingOptional, cluster_role_binding::ReadClusterRoleBindingResponse, role::ReadNamespacedRoleOptional, role::ReadNamespacedRoleResponse, role_binding::ReadNamespacedRoleBindingOptional, role_binding::ReadNamespacedRoleBindingResponse, role_binding_restriction::ReadNamespacedRoleBindingRestrictionOptional, role_binding_restriction::ReadNamespacedRoleBindingRestrictionResponse, build::ConnectPostNamespacedBuildConfigInstantiatebinaryOptional, build::ConnectPostNamespacedBuildConfigWebhooksOptional, build::ConnectPostNamespacedBuildConfigWebhooksWithPathOptional, build::ReadNamespacedBuildOptional

v4_2

Each feature corresponds to a supported version of OpenShift and Kubernetes

Enables v1_15 of k8s-openapi ^0.11

v4_3

Enables v1_16 of k8s-openapi ^0.11

v4_4

Enables v1_17 of k8s-openapi ^0.11

v4_5

Enables v1_18 of k8s-openapi ^0.11

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.

http api

Enables http ^0.2

percent-encoding api
url api