[dependencies.anstream]
version = "0.6.14"
[dependencies.anstyle]
version = "1.0.7"
[dependencies.byte-unit]
optional = true
version = "5.1"
[dependencies.chrono]
optional = true
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.0.8"
[dependencies.escape8259]
version = "0.5.2"
[dependencies.num_cpus]
optional = true
version = "1.16"
[dependencies.ping]
optional = true
version = "0.5"
[dependencies.reqwest]
features = ["blocking"]
optional = true
version = "0.11"
[dependencies.sysinfo]
optional = true
version = "0.33"
[dependencies.which]
optional = true
version = "7.0"
[dev-dependencies.fastrand]
version = "2.0.1"
[dev-dependencies.pretty_assertions]
version = "1.4"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "tidy"
path = "examples/tidy.rs"
[features]
default = []
executable = ["which"]
http = ["reqwest"]
icmp = ["ping"]
net = ["http", "icmp"]
resource = ["sysinfo", "byte-unit", "num_cpus"]
timezone = ["chrono"]
user = ["uzers"]
[lib]
name = "libtest_with"
path = "src/lib.rs"
[package]
authors = ["Lukas Kalbertodt <lukas.kalbertodt@gmail.com>", "Antonio Yang <yanganto>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "development-tools::build-utils"]
description = """
A slightly customized version of libtest-mimic,
such that it can be easier create a test runner for test-with
"""
documentation = "https://docs.rs/libtest-with"
edition = "2021"
exclude = [".github"]
keywords = ["libtest", "test", "built-in", "framework", "harness"]
license = "MIT/Apache-2.0"
name = "libtest-with"
readme = "README.md"
repository = "https://github.com/yanganto/libtest-with"
rust-version = "1.71.0"
version = "0.8.1-2"
[target.'cfg(not(target_os = "windows"))'.dependencies.uzers]
optional = true
version = "0.12"
[[test]]
name = "all_passing"
path = "tests/all_passing.rs"
[[test]]
name = "main_thread"
path = "tests/main_thread.rs"
[[test]]
name = "mixed_bag"
path = "tests/mixed_bag.rs"
[[test]]
name = "panic"
path = "tests/panic.rs"
[[test]]
name = "threads"
path = "tests/threads.rs"