- Features:
- Implement
PartialEq
,Eq
,PartialOrd
, andOrd
for all map and set types. - Make
new
functions for all map and set typesconst
whenconst_fn
feature is enabled.
- Implement
- Changes:
- Bump minimum supported Rust version to 1.56.1. (Released a year ago.) This is for compatibility with new versions of some of rangemap's development dependencies.
- Fixes:
- Fix
Gaps
iterator forRangeMap
yielding an empty gap for an empty outer range. Simplified gaps logic and expanded fuzz testing to better cover this and similar cases.
- Fix
- Fixes:
- Fix empty gaps returned by
Gaps
iterator forRangeInclusiveMap
. Added fuzz tests forGaps
iterators.
- Fix empty gaps returned by
- Fixes:
- Fix empty gaps returned by
Gaps
iterator forRangeMap
, and incorrect gaps returned byGaps
iterator forRangeInclusiveMap
.
- Fix empty gaps returned by
It's time. (No functional change.)
- Features:
- Expose nameable types for iterators:
Iterator
,IntoIterator
,Gaps
(for each collection type).
- Expose nameable types for iterators:
- Changes:
- Document overflow behaviour required by implementors of
StepLite
andStepFns
.
- Document overflow behaviour required by implementors of
- Features:
- Add serde support.
- Features:
- Implement more traits for all map and set types:
IntoIter
,FromIter
, andExtend
.
- Implement more traits for all map and set types:
- Changes:
- Bump minimum supported Rust version to 1.46.
- Features:
- Support
no_std
environments.
- Support
- Changes:
- Update all dev-dependencies to latest versions.
- Fixes:
- Fix performance regression introduced in v0.1.9, which made inserts extremely slow for large maps.
- Fixes:
- Fix coalescing of contiguous ranges. In some cases
RangeMap
andRangeInclusiveMap
would leave two separate contiguous ranges with the same value instead of combining them into one.
- Fix coalescing of contiguous ranges. In some cases
- Features:
- Implement
Debug
for all map and set types.
- Implement
- Features:
- Add
gaps
method to all map and set types for iterating over sub-ranges of a given outer range that are not covered by any stored range.
- Add
- Features:
- Add
RangeInclusiveMap
andRangeInclusiveSet
types for storing closed ranges.
- Add