optionable_codegen 0.7.3

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
[package]
name = "optionable_codegen"
version = "0.7.3"
edition = "2024"
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)."
repository = "https://github.com/ngergs/optionable"
license = "MIT OR Apache-2.0"
readme = "README.md"

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

[lints.clippy]
pedantic = "warn"

[dependencies]
quote = "1.0.42"
syn = { version = "2.0.109", default-features = false, features = ["proc-macro", "derive", "visit"] }
proc-macro2 = "1.0.103"
darling = { version = "0.21.3", default-features = false }
itertools = "0.14.0"

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


[package.metadata.docs.rs]
# to be able to document feature dependent settings, see https://users.rust-lang.org/t/how-to-document-optional-features-in-api-docs/64577/3
rustdoc-args = ["--cfg", "docsrs"]
all-features = true