optionable_codegen 0.8.1

proc_macro2 functions for the derive macro and codegen implementations in the `optionable_derive` crate to derive nested structs/enums with all subfields being optional (e.g. for patches or Kubernetes server side apply).
Documentation
[dependencies.darling]
default-features = false
version = "0.21.3"

[dependencies.itertools]
version = "0.14.0"

[dependencies.proc-macro2]
version = "1.0.103"

[dependencies.quote]
version = "1.0.42"

[dependencies.syn]
default-features = false
features = ["proc-macro", "derive", "visit"]
version = "2.0.109"

[dev-dependencies.k8s-openapi-codegen-common]
version = "0.26.0"

[features]
default = []
k8s_openapi = []
kube = []

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

[lints.clippy]
pedantic = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "proc_macro2 functions for the derive macro and codegen implementations in the `optionable_derive` crate to derive nested structs/enums with all subfields being optional (e.g. for patches or Kubernetes server side apply)."
edition = "2024"
license = "MIT OR Apache-2.0"
name = "optionable_codegen"
readme = "README.md"
repository = "https://github.com/ngergs/optionable"
rust-version = "1.88.0"
version = "0.8.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]