All notable changes to this library will be documented in this file.
The format is based on Keep a Changelog, and this library adheres to Rust's notion of Semantic Versioning.
bincodefeature flag to enable the use ofbincode-2.0.0.
NonEmpty::capacityreturnsNonZeroUsize- Fixed the
nonempty!macro to use thevec!macro internally, ensuring that it compiles withstdandno_std.
stdfeature flag; building with--no-default-featuresnow enablesno_stduse.NonEmpty::sortwas added.NonEmpty::as_refadded for converting a&NonEmptytoNonEmpty<&T>.
- MSRV is now 1.56 (this is a semver-breaking change).
NonEmpty::splitnow returnsOption<&T>for last element.cargo clippyandcargo docfailures are fixed.