[package]
edition = "2024"
rust-version = "1.96"
name = "attribute-dsl"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared parser helpers for Rust attribute DSLs built from paths and dot-call chains."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/attribute-dsl"
[lib]
name = "attribute_dsl"
path = "src/lib.rs"
[[example]]
name = "derive_field_attrs"
path = "examples/derive_field_attrs.rs"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"extra-traits",
"full",
"parsing",
"printing",
"visit-mut",
]
[lints.clippy]
dbg_macro = "deny"
derive_partial_eq_without_eq = "warn"
err_expect = "warn"
incompatible_msrv = "deny"
iter_on_single_items = "warn"
needless_bool = "warn"
redundant_clone = "warn"
todo = "deny"
type_complexity = "allow"
uninlined_format_args = "allow"
unused_trait_names = "warn"
useless_conversion = "warn"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(coverage)"]