A Rust macro that asserts that all variants of an enum are as provided in the macro invocation.

0 audits · 3 versions · updated 2025-04-15

assert_eq: location-aware equality assertions

0 audits · 2 versions · updated 2025-09-15

Accepts any number of arguments and panics if they are not equal.

0 audits · 2 versions · updated 2022-09-18

proc-macros for assert_eq

0 audits · 2 versions · updated 2025-09-15

Useful macro to assert that a certain symbol exists in the source code. This is useful to strictly couple otherwise loosely coupled functions and symbols that depend on each other.

0 audits · 1 version · updated 2023-08-11

Assertions for floating-point equality.

0 audits · 10 versions · updated 2025-09-29

A proc macro for turning test helper functions into assert! style macros

0 audits · 13 versions · updated 2021-09-22

Filesystem fixtures and assertions for testing.

0 audits · 34 versions · updated 2026-05-26

A Rust macro for checking if a struct has a specific field.

0 audits · 4 versions · updated 2025-03-31

display assert panics in hexadecimal {:#x?} format

0 audits · 8 versions · updated 2023-09-17

Assert that a line of code isn't executed too many times

0 audits · 1 version · updated 2018-10-02

For when writing .try_into().unwrap() feels too long

0 audits · 5 versions · updated 2020-10-22

json testing made simple

0 audits · 1 version · updated 2021-11-20

Assert struct layouts, including field sizes and offsets.

0 audits · 1 version · updated 2025-04-03

assert_let macro for tests.

0 audits · 1 version · updated 2020-07-03

A convenience macro for writing pattern-matching tests

0 audits · 2 versions · updated 2022-08-15

Asserts that a value matches a pattern

0 audits · 7 versions · updated 2021-02-05

Deprecated. See strass::assert_let for a macro with the same functionality.

0 audits · 3 versions · updated 2023-11-01

Macro for asserting that a string matches a regex

0 audits · 1 version · updated 2024-11-18

assert not equals

0 audits · 8 versions · updated 2016-06-21

An extended assert macro that extends Rust’s built-in assert macro to give better messages on failure.

0 audits · 1 version · updated 2014-11-21

Custom Rust allocator allowing to temporarily disable memory (de)allocations for a thread. Aborts or prints a warning if allocating although forbidden.

0 audits · 4 versions · updated 2021-08-03

A macro that asserts a Result is Ok

0 audits · 3 versions · updated 2022-11-17

Assert that some code is panic-free. Fast to compile, no syn or macros etc...

0 audits · 3 versions · updated 2021-03-03

A macro to assert that a type has a specific size at compile time

0 audits · 3 versions · updated 2026-02-26

rust test helper similar to jest's snapshot function

0 audits · 4 versions · updated 2018-10-20

Helper macros for use with boolean-valued predicate functions.

0 audits · 3 versions · updated 2020-06-21

Like Rust's built-in `assert_eq` macro, but for token streams. Passes them through rustfmt, and shows a pretty diff.

0 audits · 1 version · updated 2019-07-30

De-randomized detereministic tests with test-vectors

0 audits · 10 versions · updated 2026-06-08

De-randomized detereministic tests with test-vectors

0 audits · 9 versions · updated 2026-06-08

Statically assert that a type matches another type

0 audits · 2 versions · updated 2024-09-23

Auxiliary crate for check feature uniqueness

0 audits · 1 version · updated 2023-02-16

A direct replacement for `assert_eq` for unordered collections

0 audits · 11 versions · updated 2026-05-27

Assertables: assert macros for better testing, debugging, quality assurance, and runtime reliability.

0 audits · 76 versions · updated 2026-06-01

An assert_eq macro that prints more helpful diffs on mismatch

0 audits · 6 versions · updated 2023-05-26

Proc macros for asserteq_pretty

0 audits · 4 versions · updated 2023-05-26

New assertion library for rust

0 audits · 2 versions · updated 2020-01-26

New assertion library for rust

0 audits · 2 versions · updated 2020-01-26

Deprecated: use assert2 for better assertions

0 audits · 5 versions · updated 2024-03-15

Deprecated: use assert2 for better assertions

0 audits · 4 versions · updated 2024-03-15

Fluent assertions for tests in Rust that are convenient to write and easy to extend.

0 audits · 15 versions · updated 2026-03-14

Assertion library for the Rust programming language

0 audits · 1 version · updated 2025-01-27

Provides const assertions mechanism.

0 audits · 1 version · updated 2019-02-07

Collection of assertions

0 audits · 2 versions · updated 2024-04-19

Fluent assertion library with readable failure messages.

0 audits · 4 versions · updated 2025-06-12

Fluent assertions for the Rust programming language.

0 audits · 26 versions · updated 2026-04-30

Derive AssertrEq implementations.

0 audits · 7 versions · updated 2026-04-13

Library for simple but powerful matcher-based assertions.

0 audits · 1 version · updated 2022-01-29

a set of asserts for better tests

0 audits · 1 version · updated 2016-06-17

Asserts utilliy macros for Rust

0 audits · 4 versions · updated 2022-04-25