[package]
edition = "2024"
name = "stageleft_macro"
version = "0.13.5"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper macros for the stageleft crate"
documentation = "https://docs.rs/stageleft_macro/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/stageleft"
resolver = "2"
[lib]
name = "stageleft_macro"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro-crate]
version = "3.3"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.sha2]
version = "0.10.0"
[dependencies.syn]
version = "2"
features = [
"full",
"visit",
"visit-mut",
"extra-traits",
]
[dev-dependencies.insta]
version = "1.39"
[dev-dependencies.prettyplease]
version = "0.2.0"
features = ["verbatim"]
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
redundant_clone = "warn"
self_named_module_files = "warn"
str_to_string = "warn"
try_err = "warn"
uninlined_format_args = "allow"
unused_async = "warn"
[lints.rust]
impl_trait_overcaptures = "warn"
missing_unsafe_on_extern = "deny"
unsafe_attr_outside_unsafe = "deny"
unused_qualifications = "warn"