behave 0.9.2

BDD testing framework with expressive expect! matchers and a zero-keyword DSL.
Documentation
# 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"
version = "0.9.2"
authors = [
    "Jan Piotrzkowski <https://github.com/babilonczyk>",
    "State Runtime <https://github.com/stateruntime>",
]
build = false
exclude = [
    ".github/",
    ".editorconfig",
    "CLAUDE.md",
    "CONTRIBUTING.md",
    "SECURITY.md",
    "deny.toml",
    "justfile",
    "rust-toolchain.toml",
    "rustfmt.toml",
    "scripts/",
    "docs/AGENT.md",
    "docs/RELEASE.md",
    "docs/feature_competition.md",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BDD testing framework with expressive expect! matchers and a zero-keyword DSL."
homepage = "https://github.com/stateruntime/behave"
documentation = "https://docs.rs/behave"
readme = "README.md"
keywords = [
    "testing",
    "bdd",
    "test",
    "expect",
    "matcher",
]
categories = ["development-tools::testing"]
license = "Apache-2.0"
repository = "https://github.com/stateruntime/behave"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = [
    "dep:clap",
    "dep:crossterm",
    "dep:serde",
    "dep:serde_json",
    "dep:toml",
    "dep:notify",
]
color = [
    "std",
    "dep:similar",
]
default = ["std"]
http = ["dep:http"]
json = [
    "dep:serde",
    "dep:serde_json",
]
regex = ["dep:regex"]
std = []
tokio = ["dep:tokio"]
url = ["dep:url"]

[lib]
name = "behave"
path = "src/lib.rs"

[[bin]]
name = "cargo-behave"
path = "src/bin/cargo-behave.rs"
required-features = ["cli"]

[[example]]
name = "custom_matcher"
path = "examples/custom_matcher.rs"

[[example]]
name = "parameterized"
path = "examples/parameterized.rs"

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "setup_inheritance"
path = "examples/setup_inheritance.rs"

[[example]]
name = "teardown"
path = "examples/teardown.rs"

[dependencies.behave-macros]
version = "0.9.2"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.http]
version = "1"
optional = true

[dependencies.notify]
version = "6.1"
optional = true

[dependencies.regex]
version = "1"
features = [
    "std",
    "unicode-perl",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.similar]
version = "2"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]
optional = true

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.url]
version = "2"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]

[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