[package]
edition = "2024"
rust-version = "1.85.0"
name = "impl-tools"
version = "0.12.0"
authors = ["Diggory Hardy <git@dhardy.name>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper macros: autoimpl"
documentation = "https://docs.rs/impl-tools/"
readme = "README.md"
keywords = [
"proc-macro",
"macro",
"derive",
"trait",
"procedural",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/kas-gui/impl-tools"
[features]
allow-trait-autoimpl-with-sized-fn-bound = ["impl-tools-lib/allow-trait-autoimpl-with-sized-fn-bound"]
nightly-diagnostics = ["proc-macro-error3/nightly"]
[lib]
name = "impl_tools"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "autoimpl"
path = "tests/autoimpl.rs"
[[test]]
name = "autoimpl_enum"
path = "tests/autoimpl_enum.rs"
[[test]]
name = "compile-errors"
path = "tests/compile-errors.rs"
[[test]]
name = "for_deref"
path = "tests/for_deref.rs"
[[test]]
name = "impl_anon"
path = "tests/impl_anon.rs"
[[test]]
name = "impl_default"
path = "tests/impl_default.rs"
[[test]]
name = "impl_scope"
path = "tests/impl_scope.rs"
[[test]]
name = "impl_self"
path = "tests/impl_self.rs"
[[test]]
name = "newtype"
path = "tests/newtype.rs"
[[test]]
name = "split_impl"
path = "tests/split_impl.rs"
[dependencies.impl-tools-lib]
version = "0.12.0"
[dependencies.proc-macro-error3]
version = "3.0.2"
default-features = false
[dependencies.syn]
version = "2.0.0"
[dev-dependencies.doc-comment]
version = "0.3.3"
[dev-dependencies.trybuild]
version = "1.0.90"
[dev-dependencies.twox-hash]
version = "2.1.1"
[build-dependencies.autocfg]
version = "1.1.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(mock_feature)"]