wopt 0.4.4

A procedural macro that automatically generates an Option-wrapped version of a struct, reducing boilerplate for optional updates.
Documentation
[dependencies.bf2s]
optional = true
version = "0.1.1"

[dependencies.convert_case]
version = "0.8.0"

[dependencies.enum-unit]
features = ["bitflags"]
optional = true
version = "0.2.5"

[dependencies.enum-unit-core]
optional = true
version = "0.1.2"

[dependencies.quote]
version = "1.0.40"

[dependencies.syn]
features = ["derive", "parsing", "proc-macro"]
version = "2.0.104"

[dev-dependencies.bitflags]
version = "2.9.4"

[dev-dependencies.bytemuck]
version = "1.24.0"

[features]
bf = ["dep:bf2s"]
bytemuck = ["dep:enum-unit", "dep:enum-unit-core"]
unchecked = []

[lib]
name = "wopt"
path = "src/lib.rs"
proc-macro = true

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "data-structures"]
description = "A procedural macro that automatically generates an Option-wrapped version of a struct, reducing boilerplate for optional updates."
edition = "2024"
exclude = [".github/", ".gitignore", "LICENSE", "tests/"]
keywords = ["proc-macro", "derive", "option", "struct", "automation"]
license = "MIT"
name = "wopt"
readme = "README.md"
repository = "https://github.com/eschwart/wopt"
version = "0.4.4"

[profile.release]
codegen-units = 1
lto = true