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

#1980 in Development tools

Download history 71/week @ 2024-01-21 48/week @ 2024-01-28 84/week @ 2024-02-04 118/week @ 2024-02-11 160/week @ 2024-02-18 294/week @ 2024-02-25 174/week @ 2024-03-03 434/week @ 2024-03-10 417/week @ 2024-03-17 179/week @ 2024-03-24 270/week @ 2024-03-31 113/week @ 2024-04-07 156/week @ 2024-04-14 176/week @ 2024-04-21 167/week @ 2024-04-28 212/week @ 2024-05-05

756 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