Skip to content

v0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 00:51
· 36 commits to main since this release
683e0cc

Added

  • Added a missing implementation of DiscreteFinite for usize, #54
  • Added implementations for:
    • From<InclusiveInterval> for std::ops::Range
    • From<std::ops::Range> for InclusiveInterval
    • From<InclusiveInterval> for std::ops::RangeInclusive
    • From<std::ops::RangeInclusive> for InclusiveInterval

Changed

  • InclusiveInterval has now been given generic constructors and proper
    documentation for use by end-users, #56
  • insert_overwrite() now returns the cut entries, #51
  • Renamed gaps() to gaps_trimmed() and added a gaps_untrimmed() method
  • Mass replaced renamed from the word "range" to the word "interval" all code
    items, docs.
  • The crate has been renamed from discrete_range_map to nodit
  • The DiscreteRangeMap is now NoditMap and the DiscreteRangeSet is now
    NoditSet

Fixed

  • The now generic constructors for InclusiveInterval will all now panic on
    creation of an invalid interval to propagate errors earlier in users' code for
    a better debugging experience.
  • Documentation has been heavily worked to make it better and more up to date
    with more examples