optionable 0.1.13

Derive macro (and associated marker trait) to derive nested structs/enums with all subfields being optional (e.g. for patches or Kubernetes server side apply).
Documentation
[dependencies.chrono]
default-features = false
optional = true
version = "0.4.42"

[dependencies.optionable_derive]
optional = true
version = "0.1.2"

[dependencies.serde_json]
default-features = false
optional = true
version = "1.0.145"

[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.225"

[dev-dependencies.serde_json]
default-features = false
features = ["std"]
version = "1.0.145"

[features]
chrono = ["dep:chrono"]
default = ["derive"]
derive = ["dep:optionable_derive"]
serde_json = ["dep:serde_json"]

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

[lints.clippy]
pedantic = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Derive macro (and associated marker trait) 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"
readme = "README.md"
repository = "https://github.com/ngergs/optionable"
version = "0.1.13"

[package.metadata.docs.rs]
all-features = false
features = ["derive", "serde_json", "serde_json/std"]
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "lib"
path = "tests/lib.rs"