Skip to content

chore(deps): update rust crate heapless to 0.9.0 #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 20, 2025

This PR contains the following updates:

Package Type Update Change
heapless dev-dependencies minor 0.8.0 -> 0.9.0

Release Notes

rust-embedded/heapless (heapless)

v0.9.1

Compare Source

Added
  • Added String::insert and String::insert_str.
Changed
  • bytes::BufMut is now implemented on VecInner.
  • Removed generic from history_buf::OldestOrdered.
  • Made LenType opt-in.
  • Minor fixes to pool::boxed docs.
  • Add missing Debug derive to vec::IntoIter.
  • Removed generic from spsc::Consumer, spsc::Producer and spsc::Iter.
Fixed
  • CI now uses flags specified in Cargo.toml for rustdoc tests.
  • Fixed clippy lints.
Removed
  • Removed invalid bytes::Buf implementation.
  • Removed DefaultLenType struct.

v0.9.0

Compare Source

Added
  • Added bytes::Buf and bytes::BufMut implementations for Vec.
  • Added format macro.
  • Added String::from_utf16.
  • Added is_full, recent_index, oldest, and oldest_index to HistoryBuffer
  • Added is_full to BinaryHeap
  • Added is_full to IndexMap
  • Added is_full to IndexSet
  • Added is_full to LinearMap
  • Added infallible conversions from arrays to Vec.
  • Added Vec::spare_capacity_mut.
  • Added Extend impls for Deque.
  • Added Deque::make_contiguous.
  • Added VecView, the !Sized version of Vec.
  • Added pool implementations for 64-bit architectures.
  • Added IntoIterator implementation for LinearMap
  • Added Deque::{get, get_mut, get_unchecked, get_unchecked_mut}.
  • Added serde::Serialize and serde::Deserialize implementations to HistoryBuffer.
  • Added Vec::drain.
  • Added String::drain.
  • Implemented DoubleEndedIterator for OldestOrdered.
  • Added std Entry methods to indexmap Entry.
  • Added StringView, the !Sized version of String.
  • Added BinaryHeapView, the !Sized version of BinaryHeap.
  • Added MpMcQueueView, the !Sized version of MpMcQueue.
  • Added LinearMapView, the !Sized version of LinearMap.
  • Added HistoryBufferView, the !Sized version of HistoryBuffer.
  • Added DequeView, the !Sized version of Deque.
  • Added QueueView, the !Sized version of Queue.
  • Added SortedLinkedListView, the !Sized version of SortedLinkedList.
  • Added implementation of Borrow and BorrowMut for String and Vec.
  • Added Deque::{swap, swap_unchecked, swap_remove_front, swap_remove_back}.
  • Make String::from_utf8_unchecked const.
  • Implemented PartialEq and Eq for Deque.
  • Added alloc feature to enable alloc-Vec interoperability.
  • Added TryFrom<alloc::vec::Vec> impl for Vec.
  • Added TryFrom<Vec> impl for alloc::vec::Vec.
  • Added truncate to IndexMap.
  • Added get_index and get_index_mut to IndexMap.
  • Added String::uDisplay.
  • Added CString.
  • Added LenT generic to Vec<T, N> and VecView<T> to save memory when using a sane capacity value.
  • Added the index_set module.
  • Added the index_map module.
  • Migrated Idx generic for SortedLinkedList to use the new LenType trait, allowing for Idx inference.
  • Added similar LenT generic to String.
  • Optimize size of zero capacity Vec<T, 0> to be 0 bytes
Changed
  • Updated defmt from 0.3 to 1.0.1
    • Changed the feature name from defmt-03 to defmt.
  • Changed the error type of these methods from () to CapacityError.
    • String::push_str
    • String::push
    • Vec::extend_from_slice
    • Vec::from_slice
    • Vec::resize_default
    • Vec::resize
  • Renamed FromUtf16Error::DecodeUtf16Error to FromUtf16Error::DecodeUtf16.
  • Changed stable_deref_trait to a platform-dependent dependency.
  • Changed SortedLinkedList::pop return type from Result<T, ()> to Option<T> to match std::vec::pop.
  • Vec::capacity is no longer a const function.
  • Relaxed bounds on PartialEq for IndexMap from V: Eq to V1: PartialEq<V2>.
  • Relaxed bounds on PartialEq for LinearMap from V: PartialEq to V1: PartialEq<V2>.
  • The FnvIndexSet type is now inside the index_set module.
  • The IndexSetIter type is now inside the index_set module and has been renamed to Iter.
  • The Bucket type is now inside the index_map module.
  • The Entry type is now inside the index_map module.
  • The FnvIndexMap type is now inside the index_map module.
  • The IndexMapIter type is now inside the index_map module and has been renamed to Iter.
  • The IndexMapIterMut type is now inside the index_map module and has been renamed to IterMut.
  • The IndexMapKeys type is now inside the index_map module and has been renamed to Keys.
  • The OccupiedEntry type is now inside the index_map module.
  • The Pos type is now inside the index_map module.
  • The VacantEntry type is now inside the index_map module.
  • The VacantEntry type is now inside the index_map module.
  • The IndexMapValues type is now inside the index_map module and has been renamed to Values.
  • The IndexMapValuesMut type is now inside the index_map module and has been renamed to ValuesMut.
  • The histbuf module has been renamed to history_buf.
  • The HistoryBuffer type has been renamed to HistoryBuf.
  • The HistoryBufferView type has been renamed to HistoryBufView.
  • The OwnedHistBufStorage type has been renamed to OwnedHistoryBufStorage.
  • The ViewHistBufStorage type has been renamed to ViewHistoryBufStorage.
  • The MpMcQueue type has been renamed to Queue.
  • The MpMcQueueView type has been renamed to QueueView.
  • The MpMcQueueInner type has been renamed to QueueInner.
  • Remove Q* type aliases for MpMcQueue, and rename it to just Queue
  • Changed Queue::split to be const.
Fixed
  • Fixed bug in IndexMap::truncate that left the map in an inconsistent state.
  • Fixed compilation on thumbv6m-none-eabi without portable-atomic feature.
  • Fixed clippy lints.
  • Fixed {arc,box,object}_pool! emitting clippy lints.
  • Fixed the list of implemented data structures in the crate docs, by adding Deque,
    HistoryBuffer and SortedLinkedList to the list.
  • Fixed MpMcQueue with mpmc_large feature.
  • Fix missing Drop for MpMcQueue
Removed
  • Vec::storage_capacity has been removed and Vec::capacity must be used instead.
  • Removed sorted_linked_list::Iter and sorted_linked_list::IterInner.
  • Removed sorted_linked_list::FindMut and sorted_linked_list::FindMutInner.
  • The Q2, Q4, Q8, Q16, Q32 and Q64 aliases for MpMcQueue 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@yegor256
Copy link
Owner

@rultor please, try to merge, since 19 checks have passed

@rultor
Copy link
Collaborator

rultor commented Aug 21, 2025

@rultor please, try to merge, since 19 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here.

@rultor rultor merged commit a360138 into master Aug 21, 2025
20 checks passed
@rultor rultor deleted the renovate/heapless-0.x branch August 21, 2025 03:24
@rultor
Copy link
Collaborator

rultor commented Aug 21, 2025

@rultor please, try to merge, since 19 checks have passed

@yegor256 Done! FYI, the full log is here (took me 6min).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants