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