Releases: ergoplatform/bounded-vec
Releases · ergoplatform/bounded-vec
v0.7.1
[0.7.1] - 2022-08-01
Added
- fix
Abrbitrary
impl to honor upper(U) and lower(L) bounds;
v0.7.0
[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.5.0
[0.5.0] - 2021-10-14
Added
v0.4.0
[0.4.0] - 2021-08-04
Added
AsRef
, AsMut
, Hash
, Ord
, PartialOrd
impl for BoundedVec;
Error
impl for BoundedVecOutOfBounds;
v0.3.0
[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
[0.2.0] - 2021-05-11
Added
BoundedVec::try_mapped
, BoundedVec::try_mapped_ref
;
v0.1.0
[0.1.0] - 2021-05-10
- initial
BoundedVec
implementation including mapped()
, first()
, last()
, to/from array/Vec
;