PackageTrack
Sign in Get early access

bounded-vec

Non-empty rust Vec wrapper with type guarantees on lower and upper bounds for items quantity.

0.9.0 6.5M downloads/mo #3951 most downloaded on crates.io ergoplatform/bounded-vec

What this package is like to depend on

Last release 1 years ago

05 Jun 2025

Ships unpredictably

gaps range from 4 weeks to 2.4 years

Nearly every release is documented

notes for 10 of 10 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

10 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

10 releases · May 2021 to Jun 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 10
  1. 0.9.0 05 Jun 2025
    Release notes

    chore: Release bounded-vec version 0.9.0

    Open source →
    Release notes

    Added

    • prevent out of bound construction and define empty vs nonempty at compile time

    =======

    Open source →
  2. 0.8.0 02 Dec 2024
    Release notes

    chore: Release bounded-vec version 0.8.0

    Open source →
  3. 0.7.1 01 Aug 2022
    Release notes

    [0.7.1] - 2022-08-01

    Added

    • fix Abrbitrary impl to honor upper(U) and lower(L) bounds;
    Open source →
    Release notes

    Added

    • fix Abrbitrary impl to honor upper(U) and lower(L) bounds;
    Open source →
  4. 0.7.0 26 Jul 2022
    Release notes

    [0.7.0] - 2022-07-26

    Added

    • Arbitrary impl behind arbitrary feature;
    • BoundedVec::opt_empty_vec() - empty Vec<T> to Option<BoundedVec<T>>;
    • Option<BoundedVec>::to_vec() to get Vec<T>;
    Open source →
    Release notes

    Added

    • Abrbitrary impl behind arbitrary feature;
    • BoundedVec::opt_empty_vec() - empty Vec<T> to Option<BoundedVec<T>>;
    • Option<BoundedVec>::to_vec() to get Vec<T>;
    Open source →
  5. 0.6.0 21 Apr 2022
    Release notes

    Added

    • NonEmptyVec type alias;
    Open source →
    Release notes

    Added

    • NonEmptyVec type alias;
    Open source →
  6. 0.5.0 14 Oct 2021
    Release notes

    [0.5.0] - 2021-10-14

    Added

    • serde optional feature;
    Open source →
    Release notes

    Added

    • serde optional feature;
    Open source →
  7. 0.4.0 04 Aug 2021
    Release notes

    [0.4.0] - 2021-08-04

    Added

    • AsRef, AsMut, Hash, Ord, PartialOrd impl for BoundedVec;
    • Error impl for BoundedVecOutOfBounds;
    Open source →
    Release notes

    Added

    • AsRef, AsMut, Hash, Ord, PartialOrd impl for BoundedVec;
    • Error impl for BoundedVecOutOfBounds;
    Open source →
  8. 0.3.0 09 Jun 2021
    Release notes

    [0.3.0] - 2021-06-09

    Added

    • IntoIter impl for BoundedVec;
    • BoundedVec::enumerated (return new instance with indices included);
    • BoundedVec::split_last (return last and all the rest of the elements);
    Open source →
    Release notes

    Added

    • IntoIter impl for BoundedVec;
    • BoundedVec::enumerated (return new instance with indices included);
    • BoundedVec::split_last (return last and all the rest of the elements);
    Open source →
  9. 0.2.0 11 May 2021
    Release notes

    [0.2.0] - 2021-05-11

    Added

    • BoundedVec::try_mapped, BoundedVec::try_mapped_ref;
    Open source →
    Release notes

    Added

    • BoundedVec::try_mapped, BoundedVec::try_mapped_ref;
    Open source →
  10. 0.1.0 10 May 2021
    Release notes

    [0.1.0] - 2021-05-10

    • initial BoundedVec implementation including mapped(), first(), last(), to/from array/Vec;
    Open source →
    Release notes
    • initial BoundedVec implementation including mapped(), first(), last(), to/from array/Vec;

    <!-- next-url --> [Unreleased]: https://github.com/ergoplatform/bounded-vec/compare/v0.9.0...HEAD [0.9.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.7.1...v0.8.0 [0.7.1]: https://github.com/ergoplatform/bounded-vec/compare/v0.7.0...v0.7.1 [0.7.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.6.0...v0.7.0 [0.6.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/ergoplatform/bounded-vec/compare/v0.0.0...v0.1.0

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive