- Simplify the implementation of
PartialEq::eq
.
- Added
cactus::ArcCactus
variant which internally uses anArc
instead of anRc
, allowingArcCactus
es to be shared across threads.
- License as dual Apache-2.0/MIT (instead of a more complex, and little understood, triple license of Apache-2.0/MIT/UPL-1.0).
- Ported to Rust 2018.
- Triple licence Apache-2 / MIT / UPL.
-
Cactuses are now hashable.
-
Remove take_or_clone_val() and replace it with try_unwrap, modelled on Rc::try_unwrap.
-
Shortcut eq() comparison with Rc::ptr_eq, turning the best case comparison from O(n) to O(1) (though the worst case remains O(n)).
- Tentatively add take_or_clone_val().
First stable release.