# 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"
rust-version = "1.89.0"
name = "engenho-kube-codegen"
version = "0.1.2"
authors = ["pleme-io"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAPI v3 → typed Rust source generator for engenho-types. Reads BLAKE3-attested vendored K8s schemas + emits one Rust struct per kind with `impl KubeResource`. Per theory/ENGENHO.md §IV — generation over composition (Pillar 12)."
homepage = "https://github.com/pleme-io/engenho"
readme = "README.md"
keywords = [
    "kubernetes",
    "engenho",
    "pleme-io",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/pleme-io/engenho"
resolver = "2"

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

[[bin]]
name = "engenho-kube-codegen"
path = "src/bin/codegen.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[lints.clippy]
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1
