Skip to content

Releases: ripytide/nodit

v0.9.1

06 Apr 20:36
5b36f3e
Compare
Choose a tag to compare

Added

  • Added the ZosditMap::remove_last_value_at_point() method similar to the
    existing ZosditMap::get_last_value_at_point() method.

Changed

  • Some spelling errors corrected

v0.9.0

11 Feb 15:33
bc64347
Compare
Choose a tag to compare

Added

  • Added the Gqdit data-structure with all the proper documentation and
    examples for all its methods
  • Added a new table to the readme/top-level module docs for describing all
    the different data-structures in the crate for comparison with one
    another
  • Added another method to InclusiveInterval, contains_interval()

Changed

  • Renamed contains_entire_interval() methods to contains_interval() to match
    InclusiveInterval::contains_interval()
  • Renamed InclusiveInterval::contains() to
    InclusiveInterval::contains_point() to match the new
    InclusiveInterval::contains_interval() method
  • serde's Serialize and Deserialize implementations are now optional via a
    "serde" feature which is documented in the features section of the
    readme/top-level module docs

v0.8.0

28 Jan 14:00
b8e6980
Compare
Choose a tag to compare

Added

  • Added a new data-structure the [ZosditMap] for zero-overlap sequential
    discrete interval trees

Changed

  • Many of the methods of the InclusiveInterval trait have been reworked and
    they have all been given documentation examples
  • Renamed methods to match the std BTreeMap methods
    • NoditMap::last_entry() -> NoditMap::last_key_value()
    • NoditMap::first_entry() -> NoditMap::first_key_value()
    • NoditMap::get_entry_at_point() -> NoditMap::get_key_value_at_point()

License

  • The library has been relicensed under the MIT license to better fit within the
    rust library ecosystem

v0.7.1

05 Jan 16:01
43ac78e
Compare
Choose a tag to compare

Added

  • Support for stable rust (at least stable v1.75.0) added by
    removing/refactoring unused nightly features.

v0.7.0

03 Jan 00:51
683e0cc
Compare
Choose a tag to compare

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

v0.6.2

26 Dec 12:48
408f4e0
Compare
Choose a tag to compare

What's Changed

  • Error return val by @matt-duch in #43
  • Added Documentation to all public items in the crate.

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

06 Dec 18:01
1f36ef1
Compare
Choose a tag to compare

What's Changed

  • Add intersection/translate and size to the interval type by @gzsombor in #46

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

03 Dec 20:30
7037dd8
Compare
Choose a tag to compare

Whats Changed?

  • Refactored trait bounds into two super trait bounds: PointType and RangeType for easier maintainability.
  • no_std is now supported 🎉 🥳

Full Changelog: v0.5.1...v0.6.0

v0.5.2

11 Oct 14:28
969de2a
Compare
Choose a tag to compare

Whats Changed?

  • Added from_iter_strict methods to the Map and Set

Full Changelog: v0.5.1...v0.5.2

v0.5.1

01 Jul 12:16
ed71871
Compare
Choose a tag to compare

Whats Changed?

  • Updated dependencies to fix a compile error.

Full Changelog: v0.5.0...v0.5.1