[package]
edition = "2024"
rust-version = "1.85"
name = "subtest"
version = "1.0.3"
authors = ["Nikolaus Thümmel <commit.nthuemmel@ntcomputer.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "macro to easily use test setup code from one test function in another one"
homepage = "https://github.com/nthuemmel/subtest"
readme = "README.md"
keywords = [
"test",
"macro",
"fixture",
]
categories = ["development-tools::testing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nthuemmel/subtest"
[lib]
name = "subtest"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "integration_tests"
path = "tests/integration_tests/main.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.subtest-impl]
version = "1.0.3"
[dev-dependencies.anyhow]
version = "1.0.104"
[dev-dependencies.assert2]
version = "0.4.0"
[dev-dependencies.macrotest]
version = "1.2.1"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.serial_test]
version = "4.0.1"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"macros",
"rt",
"sync",
]
default-features = false
[dev-dependencies.trybuild]
version = "1.0.118"
[lints.clippy]
too_many_lines = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"