Skip to content

Releases: ergoplatform/bounded-vec

v0.7.1

01 Aug 13:28
v0.7.1
8265180
Compare
Choose a tag to compare

[0.7.1] - 2022-08-01

Added

  • fix Abrbitrary impl to honor upper(U) and lower(L) bounds;

v0.7.0

26 Jul 13:35
v0.7.0
2858b54
Compare
Choose a tag to compare

[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>;

v0.6.0

21 Apr 14:47
v0.6.0
3710aaa
Compare
Choose a tag to compare

Added

  • NonEmptyVec type alias;

v0.5.0

14 Oct 06:23
v0.5.0
2f797f5
Compare
Choose a tag to compare

[0.5.0] - 2021-10-14

Added

  • serde optional feature;

v0.4.0

04 Aug 14:02
v0.4.0
7fe639f
Compare
Choose a tag to compare

[0.4.0] - 2021-08-04

Added

  • AsRef, AsMut, Hash, Ord, PartialOrd impl for BoundedVec;
  • Error impl for BoundedVecOutOfBounds;

v0.3.0

09 Jun 11:55
v0.3.0
65f562e
Compare
Choose a tag to compare

[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);

v0.2.0

11 May 14:37
v0.2.0
cdff350
Compare
Choose a tag to compare

[0.2.0] - 2021-05-11

Added

  • BoundedVec::try_mapped, BoundedVec::try_mapped_ref;

v0.1.0

10 May 15:40
v0.1.0
b15ca83
Compare
Choose a tag to compare

[0.1.0] - 2021-05-10

  • initial BoundedVec implementation including mapped(), first(), last(), to/from array/Vec;