chore(deps): update rust crate heapless to 0.9.0 #324
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.8.0
->0.9.0
Release Notes
rust-embedded/heapless (heapless)
v0.9.1
Compare Source
Added
String::insert
andString::insert_str
.Changed
bytes::BufMut
is now implemented onVecInner
.history_buf::OldestOrdered
.LenType
opt-in.pool::boxed
docs.Debug
derive tovec::IntoIter
.spsc::Consumer
,spsc::Producer
andspsc::Iter
.Fixed
Cargo.toml
forrustdoc
tests.Removed
bytes::Buf
implementation.DefaultLenType
struct.v0.9.0
Compare Source
Added
bytes::Buf
andbytes::BufMut
implementations forVec
.format
macro.String::from_utf16
.is_full
,recent_index
,oldest
, andoldest_index
toHistoryBuffer
is_full
toBinaryHeap
is_full
toIndexMap
is_full
toIndexSet
is_full
toLinearMap
Vec
.Vec::spare_capacity_mut
.Extend
impls forDeque
.Deque::make_contiguous
.VecView
, the!Sized
version ofVec
.IntoIterator
implementation forLinearMap
Deque::{get, get_mut, get_unchecked, get_unchecked_mut}
.serde::Serialize
andserde::Deserialize
implementations toHistoryBuffer
.Vec::drain
.String::drain
.DoubleEndedIterator
forOldestOrdered
.Entry
methods to indexmapEntry
.StringView
, the!Sized
version ofString
.BinaryHeapView
, the!Sized
version ofBinaryHeap
.MpMcQueueView
, the!Sized
version ofMpMcQueue
.LinearMapView
, the!Sized
version ofLinearMap
.HistoryBufferView
, the!Sized
version ofHistoryBuffer
.DequeView
, the!Sized
version ofDeque
.QueueView
, the!Sized
version ofQueue
.SortedLinkedListView
, the!Sized
version ofSortedLinkedList
.Borrow
andBorrowMut
forString
andVec
.Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}
.String::from_utf8_unchecked
const.PartialEq
andEq
forDeque
.alloc
feature to enablealloc
-Vec interoperability.TryFrom<alloc::vec::Vec>
impl forVec
.TryFrom<Vec>
impl foralloc::vec::Vec
.truncate
toIndexMap
.get_index
andget_index_mut
toIndexMap
.String::uDisplay
.CString
.LenT
generic toVec<T, N>
andVecView<T>
to save memory when using a sane capacity value.index_set
module.index_map
module.Idx
generic forSortedLinkedList
to use the newLenType
trait, allowing forIdx
inference.LenT
generic toString
.Vec<T, 0>
to be 0 bytesChanged
defmt-03
todefmt
.()
toCapacityError
.String::push_str
String::push
Vec::extend_from_slice
Vec::from_slice
Vec::resize_default
Vec::resize
FromUtf16Error::DecodeUtf16Error
toFromUtf16Error::DecodeUtf16
.stable_deref_trait
to a platform-dependent dependency.SortedLinkedList::pop
return type fromResult<T, ()>
toOption<T>
to matchstd::vec::pop
.Vec::capacity
is no longer aconst
function.PartialEq
forIndexMap
fromV: Eq
toV1: PartialEq<V2>
.PartialEq
forLinearMap
fromV: PartialEq
toV1: PartialEq<V2>
.FnvIndexSet
type is now inside theindex_set
module.IndexSetIter
type is now inside theindex_set
module and has been renamed toIter
.Bucket
type is now inside theindex_map
module.Entry
type is now inside theindex_map
module.FnvIndexMap
type is now inside theindex_map
module.IndexMapIter
type is now inside theindex_map
module and has been renamed toIter
.IndexMapIterMut
type is now inside theindex_map
module and has been renamed toIterMut
.IndexMapKeys
type is now inside theindex_map
module and has been renamed toKeys
.OccupiedEntry
type is now inside theindex_map
module.Pos
type is now inside theindex_map
module.VacantEntry
type is now inside theindex_map
module.VacantEntry
type is now inside theindex_map
module.IndexMapValues
type is now inside theindex_map
module and has been renamed toValues
.IndexMapValuesMut
type is now inside theindex_map
module and has been renamed toValuesMut
.histbuf
module has been renamed tohistory_buf
.HistoryBuffer
type has been renamed toHistoryBuf
.HistoryBufferView
type has been renamed toHistoryBufView
.OwnedHistBufStorage
type has been renamed toOwnedHistoryBufStorage
.ViewHistBufStorage
type has been renamed toViewHistoryBufStorage
.MpMcQueue
type has been renamed toQueue
.MpMcQueueView
type has been renamed toQueueView
.MpMcQueueInner
type has been renamed toQueueInner
.Q*
type aliases forMpMcQueue
, and rename it to justQueue
Queue::split
to beconst
.Fixed
IndexMap::truncate
that left the map in an inconsistent state.thumbv6m-none-eabi
withoutportable-atomic
feature.{arc,box,object}_pool!
emitting clippy lints.Deque
,HistoryBuffer
andSortedLinkedList
to the list.MpMcQueue
withmpmc_large
feature.Drop
forMpMcQueue
Removed
Vec::storage_capacity
has been removed andVec::capacity
must be used instead.sorted_linked_list::Iter
andsorted_linked_list::IterInner
.sorted_linked_list::FindMut
andsorted_linked_list::FindMutInner
.Q2
,Q4
,Q8
,Q16
,Q32
andQ64
aliases forMpMcQueue
have been removed.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.