envtest 0.1.2

A lightweight, type‑safe wrapper around the Kubernetes `envtest` Go package that lets you spin up a temporary control plane from Rust.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "envtest"
version = "0.1.2"
build = "build.rs"
include = [
    "/src",
    "/go",
    "/build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, type‑safe wrapper around the Kubernetes `envtest` Go package that lets you spin up a temporary control plane from Rust."
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/kube-rs/envtest"

[package.metadata.docs.rs]
features = [
    "kube",
    "_docsrs",
]
no-default-features = true

[features]
_docsrs = []
default = [
    "kube",
    "r2g",
]
kube = [
    "dep:k8s-openapi",
    "dep:kube",
]
r2g = ["dep:rust2go"]

[lib]
name = "envtest"
path = "src/lib.rs"

[dependencies.k8s-openapi]
version = ">= 0"
features = ["latest"]
optional = true

[dependencies.kube]
version = ">= 1"
optional = true

[dependencies.rust2go]
version = "0.4.3"
optional = true

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tokio-test]
version = "0.4.5"

[build-dependencies.rust2go]
version = "0.4.3"
features = ["build"]
optional = true