[package]
edition = "2024"
name = "auto-default"
version = "0.1.5"
authors = ["Nik Revenco <pm@nikrev.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro that adds a default field value of `Default::default()` to fields that don't have one"
readme = "README.md"
keywords = [
"macros",
"default",
"field",
"values",
"boilerplate",
]
categories = [
"development-tools",
"development-tools::procedural-macro-helpers",
"no-std",
"no-std::no-alloc",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nik-rev/auto-default"
[lib]
name = "auto_default"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "default"
path = "tests/default.rs"
[[test]]
name = "empty"
path = "tests/empty.rs"
[[test]]
name = "enum_shape"
path = "tests/enum_shape.rs"
[[test]]
name = "mixed"
path = "tests/mixed.rs"
[[test]]
name = "nested_skip"
path = "tests/nested_skip.rs"
[[test]]
name = "no_default"
path = "tests/no_default.rs"
[[test]]
name = "vis"
path = "tests/vis.rs"
[dev-dependencies.rustversion]
version = "1.0.22"
[dev-dependencies.trybuild]
version = "1.0.114"
features = ["diff"]