10 releases (6 breaking)

0.7.0 Mar 16, 2024
0.6.0 Mar 16, 2024
0.5.0 Mar 16, 2024
0.4.0 Mar 1, 2024
0.1.2 May 26, 2022

#2235 in Development tools

Download history 129/week @ 2023-12-22 12/week @ 2023-12-29 105/week @ 2024-01-05 201/week @ 2024-01-12 76/week @ 2024-01-19 67/week @ 2024-01-26 48/week @ 2024-02-02 109/week @ 2024-02-09 181/week @ 2024-02-16 142/week @ 2024-02-23 305/week @ 2024-03-01 198/week @ 2024-03-08 618/week @ 2024-03-15 216/week @ 2024-03-22 244/week @ 2024-03-29 119/week @ 2024-04-05

1,219 downloads per month
Used in 80 crates (3 directly)

MIT license

20KB
429 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