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

#2385 in Development tools

Download history 394/week @ 2024-07-29 185/week @ 2024-08-05 205/week @ 2024-08-12 126/week @ 2024-08-19 219/week @ 2024-08-26 123/week @ 2024-09-02 360/week @ 2024-09-09 216/week @ 2024-09-16 305/week @ 2024-09-23 145/week @ 2024-09-30 69/week @ 2024-10-07 242/week @ 2024-10-14 191/week @ 2024-10-21 280/week @ 2024-10-28 236/week @ 2024-11-04 30/week @ 2024-11-11

771 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