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

#2153 in Development tools

Download history 172/week @ 2024-10-23 350/week @ 2024-10-30 124/week @ 2024-11-06 67/week @ 2024-11-13 108/week @ 2024-11-20 171/week @ 2024-11-27 227/week @ 2024-12-04 116/week @ 2024-12-11 78/week @ 2024-12-18 95/week @ 2024-12-25 42/week @ 2025-01-01 83/week @ 2025-01-08 54/week @ 2025-01-15 61/week @ 2025-01-22 39/week @ 2025-01-29 85/week @ 2025-02-05

241 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