Update Rust crate heapless to 0.9.0 #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/heapless-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.8.0→0.9.0Release Notes
rust-embedded/heapless (heapless)
v0.9.2Compare Source
from_bytes_truncating_at_nultoCString?Sizedbounds inPartialEqimplementationsPartialEqimplementation forDequeInnerandHistoryBufInnergeneric over the storage of the RHSv0.9.1Compare Source
Added
String::insertandString::insert_str.Added
embedded_io::Writeimpl forVec.Changed
bytes::BufMutis now implemented onVecInner.history_buf::OldestOrdered.LenTypeopt-in.pool::boxeddocs.Debugderive tovec::IntoIter.spsc::Consumer,spsc::Producerandspsc::Iter.LinearMap::entry()API.LinearMap::retain().Fixed
Cargo.tomlforrustdoctests.UnionNode<T>type, fixing possible Undefined Behaviour.Removed
bytes::Bufimplementation.DefaultLenTypestruct.v0.9.0Compare Source
Added
bytes::Bufandbytes::BufMutimplementations forVec.formatmacro.String::from_utf16.is_full,recent_index,oldest, andoldest_indextoHistoryBufferis_fulltoBinaryHeapis_fulltoIndexMapis_fulltoIndexSetis_fulltoLinearMapVec.Vec::spare_capacity_mut.Extendimpls forDeque.Deque::make_contiguous.VecView, the!Sizedversion ofVec.IntoIteratorimplementation forLinearMapDeque::{get, get_mut, get_unchecked, get_unchecked_mut}.serde::Serializeandserde::Deserializeimplementations toHistoryBuffer.Vec::drain.String::drain.DoubleEndedIteratorforOldestOrdered.Entrymethods to indexmapEntry.StringView, the!Sizedversion ofString.BinaryHeapView, the!Sizedversion ofBinaryHeap.MpMcQueueView, the!Sizedversion ofMpMcQueue.LinearMapView, the!Sizedversion ofLinearMap.HistoryBufferView, the!Sizedversion ofHistoryBuffer.DequeView, the!Sizedversion ofDeque.QueueView, the!Sizedversion ofQueue.SortedLinkedListView, the!Sizedversion ofSortedLinkedList.BorrowandBorrowMutforStringandVec.Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}.String::from_utf8_uncheckedconst.PartialEqandEqforDeque.allocfeature to enablealloc-Vec interoperability.TryFrom<alloc::vec::Vec>impl forVec.TryFrom<Vec>impl foralloc::vec::Vec.truncatetoIndexMap.get_indexandget_index_muttoIndexMap.String::uDisplay.CString.LenTgeneric toVec<T, N>andVecView<T>to save memory when using a sane capacity value.index_setmodule.index_mapmodule.Idxgeneric forSortedLinkedListto use the newLenTypetrait, allowing forIdxinference.LenTgeneric toString.Vec<T, 0>to be 0 bytesChanged
defmt-03todefmt.()toCapacityError.String::push_strString::pushVec::extend_from_sliceVec::from_sliceVec::resize_defaultVec::resizeFromUtf16Error::DecodeUtf16ErrortoFromUtf16Error::DecodeUtf16.stable_deref_traitto a platform-dependent dependency.SortedLinkedList::popreturn type fromResult<T, ()>toOption<T>to matchstd::vec::pop.Vec::capacityis no longer aconstfunction.PartialEqforIndexMapfromV: EqtoV1: PartialEq<V2>.PartialEqforLinearMapfromV: PartialEqtoV1: PartialEq<V2>.FnvIndexSettype is now inside theindex_setmodule.IndexSetItertype is now inside theindex_setmodule and has been renamed toIter.Buckettype is now inside theindex_mapmodule.Entrytype is now inside theindex_mapmodule.FnvIndexMaptype is now inside theindex_mapmodule.IndexMapItertype is now inside theindex_mapmodule and has been renamed toIter.IndexMapIterMuttype is now inside theindex_mapmodule and has been renamed toIterMut.IndexMapKeystype is now inside theindex_mapmodule and has been renamed toKeys.OccupiedEntrytype is now inside theindex_mapmodule.Postype is now inside theindex_mapmodule.VacantEntrytype is now inside theindex_mapmodule.VacantEntrytype is now inside theindex_mapmodule.IndexMapValuestype is now inside theindex_mapmodule and has been renamed toValues.IndexMapValuesMuttype is now inside theindex_mapmodule and has been renamed toValuesMut.histbufmodule has been renamed tohistory_buf.HistoryBuffertype has been renamed toHistoryBuf.HistoryBufferViewtype has been renamed toHistoryBufView.OwnedHistBufStoragetype has been renamed toOwnedHistoryBufStorage.ViewHistBufStoragetype has been renamed toViewHistoryBufStorage.MpMcQueuetype has been renamed toQueue.MpMcQueueViewtype has been renamed toQueueView.MpMcQueueInnertype has been renamed toQueueInner.Q*type aliases forMpMcQueue, and rename it to justQueueQueue::splitto beconst.Fixed
IndexMap::truncatethat left the map in an inconsistent state.thumbv6m-none-eabiwithoutportable-atomicfeature.{arc,box,object}_pool!emitting clippy lints.Deque,HistoryBufferandSortedLinkedListto the list.MpMcQueuewithmpmc_largefeature.DropforMpMcQueueRemoved
Vec::storage_capacityhas been removed andVec::capacitymust be used instead.sorted_linked_list::Iterandsorted_linked_list::IterInner.sorted_linked_list::FindMutandsorted_linked_list::FindMutInner.Q2,Q4,Q8,Q16,Q32andQ64aliases forMpMcQueuehave been removed.doc_auto_cfgfeature which was merged intodoc_cfg. Presence of the feature led to docbuild failures on nightly.
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 has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: Cargo.lock
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.