Open
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.9Release Notes
rust-embedded/heapless (heapless)
v0.9.2from_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 - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 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.