[package]
edition = "2024"
rust-version = "1.85"
name = "test-casing"
version = "0.2.0"
authors = ["Alex Ostrovski <ostrovski.alex@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parameterized test cases and test decorators"
readme = "README.md"
keywords = [
"testing",
"parameterized",
"case",
"decorator",
]
categories = ["development-tools::testing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/slowli/test-casing"
resolver = "2"
[package.metadata.docs.rs]
features = ["tracing"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
nightly = ["test-casing-macro/nightly"]
tracing = [
"dep:tracing",
"dep:tracing-subscriber",
]
[lib]
name = "test_casing"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[[test]]
name = "traces"
path = "tests/traces.rs"
required-features = ["tracing"]
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "version_match"
path = "tests/version_match.rs"
[dependencies.test-casing-macro]
version = "=0.2.0"
[dependencies.tracing]
version = "0.1.41"
optional = true
[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
optional = true
[dev-dependencies.doc-comment]
version = "0.3.4"
[dev-dependencies.rand]
version = "0.10.1"
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"rt",
"macros",
"time",
]
[dev-dependencies.tracing-capture]
version = "=0.2.0-beta.1"
[dev-dependencies.trybuild]
version = "1.0.116"
[dev-dependencies.version-sync]
version = "0.9.4"
[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"