[package]
name = "behave-macros"
version = "0.7.0"
authors = ["Jan Piotrzkowski <https://github.com/babilonczyk>", "State Runtime <https://github.com/stateruntime>"]
edition = "2021"
rust-version = "1.75"
license = "Apache-2.0"
repository = "https://github.com/stateruntime/behave"
homepage = "https://github.com/stateruntime/behave"
description = "Proc macros for the behave BDD testing framework"
documentation = "https://docs.rs/behave"
readme = "../README.md"
keywords = ["testing", "bdd", "proc-macro", "test", "macro"]
categories = ["development-tools::testing"]
exclude = ["tests/", "benches/", "target/"]

[lib]
proc-macro = true

[dependencies]
syn = { version = "2", features = ["full", "extra-traits"] }
quote = "1"
proc-macro2 = "1"

[lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
unreachable_pub = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
missing_debug_implementations = "warn"

[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
unimplemented = "deny"
todo = "deny"
dbg_macro = "deny"
print_stdout = "deny"
print_stderr = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
