13 releases (breaking)

new 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

#2406 in Development tools

Download history 170/week @ 2024-07-10 263/week @ 2024-07-17 354/week @ 2024-07-24 237/week @ 2024-07-31 189/week @ 2024-08-07 182/week @ 2024-08-14 152/week @ 2024-08-21 166/week @ 2024-08-28 138/week @ 2024-09-04 414/week @ 2024-09-11 247/week @ 2024-09-18 211/week @ 2024-09-25 151/week @ 2024-10-02 152/week @ 2024-10-09 200/week @ 2024-10-16 136/week @ 2024-10-23

650 downloads per month
Used in 74 crates (3 directly)

MIT license

20KB
449 lines

Module :: diagnostics_tools

experimental rust-status docs.rs Open in Gitpod discord

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