Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@nvzqz nvzqz released this 03 Nov 17:08
· 43 commits to master since this release

About

Documentation

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!, and const_assert_ne! to export
    their local inner macros. Not having this prevented them from working when
    used or called directly via static_assertions::macro!(...)

Removed

  • Unused _assert_obj_safe! from pre-1.0