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

#2926 in Algorithms

Download history 74/week @ 2024-12-16 122/week @ 2024-12-23 23/week @ 2024-12-30 80/week @ 2025-01-06 59/week @ 2025-01-13 69/week @ 2025-01-20 35/week @ 2025-01-27 75/week @ 2025-02-03 64/week @ 2025-02-10 240/week @ 2025-02-17 217/week @ 2025-02-24 68/week @ 2025-03-03 105/week @ 2025-03-10 135/week @ 2025-03-17 53/week @ 2025-03-24 81/week @ 2025-03-31

375 downloads per month
Used in 77 crates (2 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