0.10.6
Most importantly this release brings back the following functions, which had to be commented out in June 2020 (while this crate was at version 0.9.3) due to a compiler codebase change, leading to the release of 0.10 so as to provide a not-broken version for users who wanted to stay up to date with current nightlies:
- concat
- concat_clone
- intersperse
- intersperse_clone
- symmetric_difference
- union
All of them "just work" again as they originally did, for whatever reason that may be as far as recent improvements in rustc
's handling of const generics. So to be very clear: what this means overall is that from this release forwards, anyone who was actually sticking with 0.9.X (if they exist, which I'm not sure they do) no longer has a reason to do so, and can update their dependency to 0.10.X without any breakage.
Beyond that, this release brings a handful of minor internal improvements and tweaks (including doc comment improvements in a few places) over 0.10.5, and also leverages the (somewhat new I think) const_ptr_read
and const_ptr_write
feature flags to make a decent number more of StaticVec
's methods available in const fn
form. See the first part of main_demo.rs
in the demo
folder for more details as well as a practical example as far as that.