testutils 0.0.12

Offers a range of utility functions, macros, and tools, such as `simple_benchmark()` and `dbg_ref!()`, `os_cmd::Runner`, designed for testing purposes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub type TinyVec<T, const N: usize> = tinyvec::TinyVec<[T; N]>;
pub type StrVec<'a, const N: usize> = TinyVec<&'a str, N>;
pub type CowStrVec<'a, const N: usize> = TinyVec<alloc::borrow::Cow<'a, str>, N>;
pub type MiniStrVec<const N: usize> = TinyVec<crate::os_cmd::MiniStr, N>;

pub mod cargo_build;
mod cargo_doc;
mod cargo_fmt;

pub use cargo_build::CargoCmd;
pub use cargo_doc::CargoDoc;
pub use cargo_fmt::CargoFmt;