defaulted 0.1.3

Trait and derive macro for testing whether a value equals its default state, with per-field customization and optional serde integration
Documentation
[package]
name = "defaulted"
description = "Trait and derive macro for testing whether a value equals its default state, with per-field customization and optional serde integration"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
readme = "../../README.md"
keywords = ["default", "derive", "macro", "serde", "no-std"]
categories = ["rust-patterns", "no-std", "encoding"]

[dependencies]
bytes = { workspace = true, optional = true }
indexmap = { workspace = true, optional = true }
defaulted_derive = { optional = true, workspace = true }
serde = { optional = true, workspace = true, features = ["derive"] }
serde_json = { optional = true, workspace = true }
serde_yaml = { optional = true, workspace = true }
smallvec = { workspace = true, optional = true }

[features]
default = ["std", "derive"]
std = ["alloc"]
alloc = []
derive = ["dep:defaulted_derive"]
serde = ["dep:serde", "defaulted_derive?/serde"]
serde-json = ["dep:serde_json"]
serde-yaml = ["dep:serde_yaml"]
bytes = ["dep:bytes"]
indexmap = ["dep:indexmap"]
smallvec = ["dep:smallvec"]

[lints]
workspace = true