k8s-openapi 0.11.0

Bindings for the Kubernetes client API
Documentation
[package]
name = "k8s-openapi"
version = "0.11.0"
license = "Apache-2.0"
authors = ["Arnavion <me@arnavion.dev>"]
categories = ["api-bindings", "web-programming::http-client"]
description = "Bindings for the Kubernetes client API"
documentation = "https://arnavion.github.io/k8s-openapi/v0.11.x/k8s_openapi/"
edition = "2018"
keywords = ["client", "kubernetes", "k8s", "http"]
readme = "README.md"
repository = "https://github.com/Arnavion/k8s-openapi"
include = [
	"build.rs",
	"Cargo.toml",
	"LICENSE",
	"README.md",
	"src/**/*",
]

# Dummy value to allow metadata to work, since passing metadata to downstream currently requires the links key to be set.
#
# It incorporates the version because we don't want to unnecessarily prevent multiple versions of k8s-openapi in the dep graph.
# Unfortunately, this means the env var that downstream needs to check also incorporates the version number, so downstream build scripts are recommended
# to enumerate all env vars looking for one with `DEP_K8S_OPENAPI_` prefix and `_VERSION` suffix, instead of looking it up by its whole name.
#
# See https://github.com/rust-lang/cargo/issues/3544 for being able to pass metadata to downstream without setting this key.
links = "k8s-openapi-0.11.0"

[dependencies]
base64 = "0.13"
bytes = "1"
chrono = { version = "0.4.1", features = ["serde"] }
http = { version = "0.2", optional = true }
percent-encoding = { version = "2", optional = true }
serde = "1"
serde_json = "1"
serde-value = "0.7"
url = { version = "2", optional = true }

[features]
default = ["api"]

api = ["http", "percent-encoding", "url"] # Enables API operation functions and response types. If disabled, only the resource types will be exported.

# Each feature corresponds to a supported version of Kubernetes
v1_11 = []
v1_12 = []
v1_13 = []
v1_14 = []
v1_15 = []
v1_16 = []
v1_17 = []
v1_18 = []
v1_19 = []
v1_20 = []

[package.metadata.docs.rs]
# docs.rs generates docs for the latest version. To see the docs for an older version, please generate them yourself.
features = ["v1_20"]