[package]
edition = "2024"
rust-version = "1.95.0"
name = "test-better-async"
version = "0.2.1"
authors = ["Josh Burgess"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async and timing test helpers (runtime-gated) for the test-better testing library."
readme = "README.md"
keywords = [
"testing",
"assertions",
"matchers",
"check",
]
categories = ["development-tools::testing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshburgess/test-better"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async-std = ["dep:async-std"]
smol = ["dep:smol"]
tokio = ["dep:tokio"]
[lib]
name = "test_better_async"
path = "src/lib.rs"
[dependencies.async-std]
version = "1"
optional = true
[dependencies.smol]
version = "2"
optional = true
[dependencies.test-better-core]
version = "0.2.1"
[dependencies.tokio]
version = "1"
features = ["time"]
optional = true
[dev-dependencies.pollster]
version = "0.4"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"