- Replace
IntRangeUnionFind
with a genericRangeUnionFind
type that works with aNumInRange
trait, impl'ed on PrimInts and floats - Add the
*Assign
variants of the impl'dcore::ops
traits and let all of them accept the rhs by value as well as by reference
- Fix a false positive index assertion in removal code that did not account for singleton ranges being left behind
- Fix panic that could occur when inserting adjacent to ranges with a single element
- Bump dependency versions
- Fix html_root_url version number copy
- This release should not have any API incompatibilities with v0.3.0
- Add method to determine which range an element is a part of
- Add
no_std
support via optional (but default-enabled)std
feature - Add optional
serde
support via theinclude_serde
feature
- Add range removal functionality
- Add a clear method to remove all ranges
- Remove
BitOrAssign
impl and changeBitOr
impl to use references (likeBTreeSet
) - Implement
Sub
- Implement
BitAnd
andBitXor
- Allow unbounded ranges (with the corresponding natural meaning)
- Fix major bugs in insertion code
- Nicer prints (
Debug
panic on invalid struct, and ErrorDisplay
) - Use
drain
when removing internal elements for slightly improved performance
- Remove
Display
implementation (should have beenDebug
impl) - Nicer formatting for
Debug
impl (with painc fallback if invariants violated) - Implement
BitOr
- Miscellaneous code cleanup
- Initial release