11 releases (7 breaking)

new 0.8.0 May 11, 2024
0.7.0 Mar 16, 2024
0.6.0 Mar 16, 2024
0.3.0 Oct 29, 2023
0.1.3 Jun 13, 2022

#1901 in Development tools

Download history 67/week @ 2024-01-25 24/week @ 2024-02-01 101/week @ 2024-02-08 172/week @ 2024-02-15 162/week @ 2024-02-22 298/week @ 2024-02-29 204/week @ 2024-03-07 606/week @ 2024-03-14 211/week @ 2024-03-21 230/week @ 2024-03-28 166/week @ 2024-04-04 158/week @ 2024-04-11 174/week @ 2024-04-18 167/week @ 2024-04-25 154/week @ 2024-05-02 363/week @ 2024-05-09

874 downloads per month
Used in 81 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