Releases: nvzqz/static-assertions
Releases · nvzqz/static-assertions
v1.1.0
About
Changes
Added
assert_impl_any!
macro- Asserts that the type implements any of the given traits.
assert_impl_one!
macro- Asserts that the type implements exactly one in a set of traits.
assert_trait_sub_all!
macro- Asserts that the trait is a child of all of the other traits.
assert_trait_super_all!
macro- Asserts that the trait is a parent of all of the other traits.
- Frequently asked questions to
README.md
Fixed
assert_eq_size_val!
,const_assert_eq!
, andconst_assert_ne!
to export
their local inner macros. Not having this prevented them from working when
use
d or called directly viastatic_assertions::macro!(...)
Removed
- Unused
_assert_obj_safe!
from pre-1.0
v0.3.1
v0.3.0
About
Changed
- Bumped minimum supported (automatically tested) Rust version to 1.24.0
- Moved message parameter for
assert_cfg!
to last argument position, making
it consistent with other macros
Removed
- No need to use
macro!(label; ...)
syntax when compiling on nightly Rust and
enabling thenightly
feature flag (read more)