nonempty
Correct by construction non-empty vector
0.12.0
39M downloads/mo
#1439 most downloaded on crates.io
cloudhead/nonempty
What this package is like to depend on
Last release 1 years ago
19 Jul 2025
Ships fairly regularly
a new release about every 5 months
Rarely documented
notes for 3 of 18 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
18 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Nov 2019 to Jul 2025Releases
latest 18-
0.12.019 Jul 2025Release notes
Open source →NonEmpty::capacityreturnsNonZeroUsize- Fixed the
nonempty!macro to use thevec!macro internally, ensuring that
it compiles withstdandno_std.
Release notes
Open source →Added
bincodefeature flag to enable the use ofbincode-2.0.0.
Changed
NonEmpty::capacityreturnsNonZeroUsize- Fixed the
nonempty!macro to use thevec!macro internally, ensuring that it compiles withstdandno_std.
-
0.11.017 Dec 2024Release notes
Open source →Added
stdfeature flag; building with--no-default-featuresnow enablesno_stduse.NonEmpty::sortwas added.NonEmpty::as_refadded for converting a&NonEmptytoNonEmpty<&T>.
Changed
- MSRV is now 1.56 (this is a semver-breaking change).
NonEmpty::splitnow returnsOption<&T>for last element.cargo clippyandcargo docfailures are fixed.
-
0.10.029 Feb 2024Nothing published for this version
-
0.9.017 Nov 2023Nothing published for this version
-
0.8.106 Dec 2022Nothing published for this version
-
0.8.030 Jun 2022Nothing published for this version
-
0.7.022 Jun 2021Nothing published for this version
-
0.6.023 Oct 2020Nothing published for this version
-
0.5.015 May 2020 -
0.4.003 Apr 2020Nothing published for this version
-
0.3.013 Mar 2020Nothing published for this version
-
0.2.013 Jan 2020Nothing published for this version
-
0.1.525 Nov 2019Nothing published for this version
-
0.1.418 Nov 2019Nothing published for this version
-
0.1.318 Nov 2019Nothing published for this version
-
0.1.215 Nov 2019Nothing published for this version
-
0.1.112 Nov 2019Nothing published for this version
-
0.1.007 Nov 2019Nothing published for this version