Cargo Features

[dependencies]
tonic-lb = { version = "0.0.2", default-features = false, features = ["kube-earliest", "kube-latest", "kube-v1_24", "kube-v1_25", "kube-v1_26", "kube-v1_27", "kube-v1_28", "kube-v1_29"] }
default = kube-latest

The kube-latest feature is set by default whenever tonic-lb is added without default-features = false somewhere in the dependency tree.

kube-earliest

Enables earliest of k8s-openapi ^0.21.1

k8s-openapi:

Each feature corresponds to a supported version of Kubernetes

kube-latest default

Enables latest of k8s-openapi ^0.21.1

kube-v1_24

Enables v1_24 of k8s-openapi ^0.21.1

kube-v1_25

Enables v1_25 of k8s-openapi ^0.21.1

kube-v1_26

Enables v1_26 of k8s-openapi ^0.21.1

kube-v1_27

Enables v1_27 of k8s-openapi ^0.21.1

kube-v1_28

Enables v1_28 of k8s-openapi ^0.21.1

kube-v1_29

Enables v1_29 of k8s-openapi ^0.21.1

tonic-lb has 9 features without comments.