The format is based on Keep a Changelog.
- Added
try_rotate_left
andtry_rotate_right
toBoundedVec
. #800
- Added
serde
support forBoundedBTreeSet
. #781
- Altered return types of
BoundedVec::force_insert_keep_
functions to return the element in case of error. - Added
new
andclear
toBoundedVec
.
- Added
serde
feature, which can be enabled for nostd
deployments.
- Added
Clone
andDefault
derive to theimpl_const_get!
macro and thereby allConst*
types. - Fixed
Debug
impl forimpl_const_get!
and allConst*
types to also print the value and not just the type name.
- Fixed
Hash
impl (previously it could not be used in practice, because the size bound was required to also implementHash
).
- Fixed unnecessary decoding and allocations for bounded types, when the decoded length is greater than the allowed bound.
- Add
Hash
derivation (whenfeature = "std"
) for bounded types.
- Removed non-existent
bounded
mod reference. #715
- Ensured
bounded-collections
crate compiles underno_std
. #712