#assert #debugging #macro #stringify

no-std assert-cmp

Convenient assertion macros that print the failed expressions and their evaluated values

4 releases (2 breaking)

0.2.1 Dec 19, 2022
0.2.0 May 13, 2021
0.1.0 Apr 20, 2021
0.0.0 Apr 20, 2021

#2327 in Rust patterns

Download history 20/week @ 2023-12-05 16/week @ 2023-12-12 11/week @ 2023-12-19 7/week @ 2023-12-26 9/week @ 2024-01-02 50/week @ 2024-01-09 24/week @ 2024-01-16 26/week @ 2024-01-23 18/week @ 2024-01-30 128/week @ 2024-02-06 59/week @ 2024-02-13 61/week @ 2024-02-20 68/week @ 2024-02-27 64/week @ 2024-03-05 106/week @ 2024-03-12 109/week @ 2024-03-19

358 downloads per month
Used in 2 crates

MIT license

13KB
201 lines

Assert Cmp

Test Crates.io Version

Convenient assertion macros that print the failed expressions and their evaluated values.

Usage

Read the doc for usage of every macro.

License

MIT © Hoàng Văn Khải.


lib.rs:

Convenient assertion macros that print the failed expressions and their evaluated values.

No runtime deps