All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
assert_cfg!()
to last argument position, making it consistent with other macrosmacro!(label; ...)
syntax when compiling on nightly Rust and enabling the nightly
feature flagassert_eq_size_ptr
wraps its code inside of a closure, ensuring that the unsafe code inside never runsunneeded_field_pattern
within assert_fields
mem::transmute
while still utilizing it for size verification (Simon Sapin, #5)assert_cfg
macro that asserts that the given configuration is setassert_fields
macro to assert that a struct type or enum variant has a given fieldassert_impl
assert_impl
macro to ensure a type implements a given set of traitsassert_obj_safe
macro for ensuring that a trait is object-safeassert_eq_size_ptr
macroassert_eq_size
, const_assert
, and const_assert_eq
in non-function contexts via providing a unique label #1assert_eq_size
is no longer allowedconst_assert_eq
macroInitial release