# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

[lib]
name = "behave_macros"
path = "src/lib.rs"
proc-macro = true

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
