[package]
edition = "2024"
rust-version = "1.85"
name = "testutils"
version = "0.0.6"
authors = ["Moe <m@tmoe.me>"]
build = false
exclude = [
"/rust-toolchain.toml",
"/misc/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Offers a range of utility functions, macros, and tools, such as `simple_benchmark()` and `dbg_ref!()`, `os_cmd::Runner`, designed for testing purposes.
"""
readme = "docs/Readme.md"
keywords = [
"test",
"utils",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/2moe/testutils"
[package.metadata.docs.rs]
all-features = true
[features]
bool_ext = []
default = [
"std",
"os_cmd",
"bool_ext",
"print_ext",
"re_exports_tap",
]
os_cmd = [
"std",
"bool_ext",
"dep:shlex",
"dep:tinyvec",
"dep:compact_str",
]
print_ext = []
re_exports_tap = []
std = [
"compact_str?/std",
"tinyvec?/std",
"shlex?/std",
]
[lib]
name = "testutils"
path = "src/lib.rs"
[[test]]
name = "doc"
path = "tests/doc.rs"
[[test]]
name = "fmt"
path = "tests/fmt.rs"
[[test]]
name = "misc"
path = "tests/misc.rs"
[dependencies.compact_str]
version = "0.9"
optional = true
default-features = false
[dependencies.getset]
version = "0.1"
[dependencies.log]
version = "0.4"
[dependencies.shlex]
version = "1.3"
optional = true
default-features = false
[dependencies.tap]
version = "1.0"
[dependencies.tinyvec]
version = "1.10"
features = [
"alloc",
"rustc_1_61",
]
optional = true
[dev-dependencies.collect-with]
version = "0.0.2"
[dev-dependencies.env_logger]
version = "0.11"