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

Download history 117/week @ 2024-08-18 196/week @ 2024-08-25 152/week @ 2024-09-01 307/week @ 2024-09-08 286/week @ 2024-09-15 230/week @ 2024-09-22 213/week @ 2024-09-29 75/week @ 2024-10-06 212/week @ 2024-10-13 177/week @ 2024-10-20 320/week @ 2024-10-27 234/week @ 2024-11-03 38/week @ 2024-11-10 101/week @ 2024-11-17 167/week @ 2024-11-24 103/week @ 2024-12-01

415 downloads per month
Used in 75 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