Skip to content

v4.0.0

Compare
Choose a tag to compare
@Boshen Boshen released this 30 Sep 06:29
· 6 commits to main since this release
16116ae

Added

  • add const support to methods where possible (#87)
  • add NonMaxU32 support via define_nonmax_index_type! macro (#86)

Fixed

  • reorder attributes in define_nonmax_index_type! for proc macro compatibility

Other

  • cargo fmt
  • make serde and nonmax optional features
  • make nonmax support always available and use crate's own nonmax
  • make serde support always available and use crate's own serde
  • add documentation to all public methods to fix missing_docs warnings
  • remove backward compatibility alias for define_nonmax_index_type!
  • rename define_nonmax_index_type! to define_nonmax_u32_index_type!
  • apply tuple struct pattern to define_index_type! macro
  • remove #[repr(transparent)] from define_nonmax_index_type!
  • change define_nonmax_index_type! to use tuple struct pattern
  • document custom attribute support in define_nonmax_index_type!
  • remove bounds check from IndexVec::push (#84)