13 releases (breaking)
0.10.0 | Oct 30, 2024 |
---|---|
0.8.0 | May 11, 2024 |
0.7.0 | Mar 16, 2024 |
0.3.0 | Oct 29, 2023 |
0.1.3 | Jun 13, 2022 |
#2584 in Development tools
415 downloads per month
Used in 75 crates
(3 directly)
20KB
449 lines
Module :: diagnostics_tools
Diagnostics tools.
Basic use-case
#[ test ]
#[ should_panic ]
fn a_id_panic_test()
{
a_id!( 1, 2 );
/*
print :
...
thread 'a_id_panic_test' panicked at 'assertion failed: `(left == right)`
Diff < left / right > :
<1
>2
...
*/
}
To add to your project
cargo add diagnostics_tools
Try out from the repository
git clone https://github.com/Wandalen/wTools
cd wTools
cd examples/diagnostics_tools_trivial
cargo run
Dependencies
~40KB