# 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 = "koprs"
version = "0.9.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A reusable, ergonomic library that streamlines Kubernetes operator development, allowing developers to build controllers with significantly less code."
readme = "README.md"
keywords = [
    "kubernetes",
    "operators",
    "controllers",
    "operator-sdk",
    "kube-rs",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/bartvanbenthem/koprs"
resolver = "2"

[features]
integration = []

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.axum]
version = "0.8.9"
features = [
    "http1",
    "tokio",
]
default-features = false

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["clock"]

[dependencies.futures]
version = "0.3"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "server",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.k8s-openapi]
version = "0.25.0"
features = ["v1_33"]
default-features = false

[dependencies.kube]
version = "1.1.0"
features = [
    "derive",
    "runtime",
]
default-features = true

[dependencies.kube-runtime]
version = "1.1.0"

[dependencies.prometheus]
version = "0.14.0"
default-features = false

[dependencies.schemars]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
    "signal",
]

[dependencies.tracing]
version = "0.1.36"

[dev-dependencies.http]
version = "1"

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

[dev-dependencies.tower-test]
version = "0.4"
