[package]
edition = "2024"
rust-version = "1.96.0"
name = "crabka-operator"
version = "0.3.6"
authors = ["The Crabka Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kubernetes operator for Crabka clusters"
homepage = "https://github.com/robot-head/crabka"
documentation = "https://docs.rs/crabka-operator"
readme = "README.md"
keywords = [
"kafka",
"kubernetes",
"operator",
"crabka",
]
categories = [
"config",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/robot-head/crabka"
resolver = "2"
[lib]
name = "crabka_operator"
path = "src/lib.rs"
[[bin]]
name = "crabka-operator"
path = "src/main.rs"
[[test]]
name = "ca_renewal_cronjob"
path = "tests/ca_renewal_cronjob.rs"
[[test]]
name = "rebalance_e2e"
path = "tests/rebalance_e2e.rs"
[[test]]
name = "reconcile_ca"
path = "tests/reconcile_ca.rs"
[[test]]
name = "reconcile_ca_rotation"
path = "tests/reconcile_ca_rotation.rs"
[[test]]
name = "reconcile_gateway"
path = "tests/reconcile_gateway.rs"
[[test]]
name = "reconcile_inter_broker_mtls"
path = "tests/reconcile_inter_broker_mtls.rs"
[[test]]
name = "reconcile_kafka"
path = "tests/reconcile_kafka.rs"
[[test]]
name = "reconcile_kafka_authorization"
path = "tests/reconcile_kafka_authorization.rs"
[[test]]
name = "reconcile_kafkauser_delegation_token"
path = "tests/reconcile_kafkauser_delegation_token.rs"
[[test]]
name = "reconcile_listener_auth"
path = "tests/reconcile_listener_auth.rs"
[[test]]
name = "reconcile_listener_gssapi"
path = "tests/reconcile_listener_gssapi.rs"
[[test]]
name = "reconcile_listener_ingress"
path = "tests/reconcile_listener_ingress.rs"
[[test]]
name = "reconcile_listener_oauth"
path = "tests/reconcile_listener_oauth.rs"
[[test]]
name = "reconcile_oauth_introspection"
path = "tests/reconcile_oauth_introspection.rs"
[[test]]
name = "reconcile_oauth_trust"
path = "tests/reconcile_oauth_trust.rs"
[[test]]
name = "reconcile_pool"
path = "tests/reconcile_pool.rs"
[[test]]
name = "reconcile_rebalance"
path = "tests/reconcile_rebalance.rs"
[[test]]
name = "reconcile_schema_registry"
path = "tests/reconcile_schema_registry.rs"
[[test]]
name = "reconcile_topic"
path = "tests/reconcile_topic.rs"
[[test]]
name = "reconcile_user"
path = "tests/reconcile_user.rs"
[[test]]
name = "reconcile_user_tls_external"
path = "tests/reconcile_user_tls_external.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"http1",
"tokio",
]
default-features = false
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.crabka-client-admin]
version = "0.3.6"
[dependencies.crabka-metadata]
version = "0.3.6"
[dependencies.crabka-security]
version = "0.3.6"
[dependencies.futures]
version = "0.3"
[dependencies.k8s-openapi]
version = "0.27"
features = [
"v1_31",
"schemars",
]
default-features = false
[dependencies.kube]
version = "3.1"
features = [
"client",
"runtime",
"derive",
"rustls-tls",
]
default-features = false
[dependencies.prometheus-client]
version = "0.24"
[dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
"ring",
]
default-features = false
[dependencies.schemars]
version = "1.2"
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"macros",
"parsing",
"formatting",
]
default-features = false
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"signal",
"sync",
"time",
]
default-features = false
[dependencies.toml]
version = "1.1"
[dependencies.tower]
version = "0.5"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dependencies.x509-parser]
version = "0.18"
[dev-dependencies.assert2]
version = "0.4"
[dev-dependencies.crabka-broker]
version = "0.3.6"
[dev-dependencies.crabka-client-core]
version = "0.3.6"
[dev-dependencies.http]
version = "1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"