#assert #macro #debugging #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

#2470 in Rust patterns

Download history 48/week @ 2024-07-20 121/week @ 2024-07-27 40/week @ 2024-08-03 45/week @ 2024-08-10 38/week @ 2024-08-17 44/week @ 2024-08-24 47/week @ 2024-08-31 23/week @ 2024-09-07 11/week @ 2024-09-14 40/week @ 2024-09-21 25/week @ 2024-09-28 17/week @ 2024-10-05 34/week @ 2024-10-12 26/week @ 2024-10-19 95/week @ 2024-10-26 70/week @ 2024-11-02

227 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