optionize-macros 0.5.1

The procedural macro engine powering the optionize crate
Documentation

optionize-macros

Procedural macros for the optionize crate.

This crate implements the #[optionized] attribute, which generates partial versions of structs, wrapping ordinary fields in Option<Value>. It also generates trait implementations for applying and merging patches, retaining changes, and upgrading complete patches. The Optionize derive is an internal helper, not a standalone generation API.

Use the main optionize crate in your application. It re-exports these macros alongside the required traits.

See the project README for a quick start and the API documentation for examples and attribute details.

License

MIT