More Asserts (for Rust).

Docs

Small library providing assertion macros similar to the {debug_,}assert_{eq,ne} macros in the stdlib.

Usage

  1. Add more-asserts = "0.2" to your Cargo.toml.
  2. Add #[macro_use] extern crate more_asserts to your code.

After this, the following macros are available in your code (see the documentation for more info):

Note that assert_eq!, assert_ne!, debug_assert_eq!, and debug_assert_ne! are not provided, as those are in the standard library.

License

CC0 (public domain).