Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@gtker gtker released this 25 Oct 13:18
· 65 commits to main since this release

[0.2.0] - 2022-10-25

Added

  • Hash, PartialOrd, Ord, Default traits for types that support it.
  • From<{native_ty} and all integer types with a From<{native_ty}> for primary keys.

Changed

  • BREAKING: Changed Indexable::get and Indexable::get_mut parameters from &Self::PrimaryKey to impl Into<Self::PrimaryKey>.
    This is in order to reduce the boilerplate needed for calling the functions with values that aren't from another wow_dbc table.
    This makes it possible to do table.get(value) instead of table.get(TableKey::new(value))
  • BREAKING: Removed all default features. This prevents people from mistakenly not disabling the expansions that they do not need and bloating compile times as well as IDE suggestions.