impl-tools 0.12.0

Helper macros: autoimpl
Documentation
[workspace]
members = ["lib", "tests/test-cfg"]

[workspace.package]
authors = ["Diggory Hardy <git@dhardy.name>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/kas-gui/impl-tools"
rust-version = "1.85.0"
edition = "2024"

[package]
name = "impl-tools"
version = "0.12.0"
description = "Helper macros: autoimpl"
keywords = ["proc-macro", "macro", "derive", "trait", "procedural"]
categories = ["development-tools::procedural-macro-helpers"]
readme = "README.md"
documentation = "https://docs.rs/impl-tools/"
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true

[lib]
proc-macro = true

[features]
# Enables better proc-macro diagnostics (including warnings); nightly only.
nightly-diagnostics = ["proc-macro-error3/nightly"]
# Squelch lint: "autoimpl on trait that has a method with Self: Sized bound"
allow-trait-autoimpl-with-sized-fn-bound = ["impl-tools-lib/allow-trait-autoimpl-with-sized-fn-bound"]

[dependencies.proc-macro-error3]
version = "3.0.2"
default-features = false

[dependencies.syn]
version = "2.0.0"

[dependencies.impl-tools-lib]
version = "0.12.0"
path = "lib"

[dev-dependencies]
doc-comment = "0.3.3"
twox-hash = "2.1.1"
trybuild = "1.0.90"

[build-dependencies]
autocfg = "1.1.0"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mock_feature)'] }