Add Clone and PartialEq implementations to HistoryBuffer.
Added an object pool API. see the pool::object module level doc for details
Add HistoryBuffer::as_slices()
Implemented retain for IndexMap and IndexSet.
Recover StableDeref trait for pool::object::Object and pool::boxed::Box.
Add polyfills for ESP32S2
Added String::from_utf8 and String::from_utf8_unchecked.
Changed
updated from edition 2018 to edition 2021
[breaking-change] IndexMap and IndexSet now require that keys implement the core::hash::Hash
trait instead of the hash32::Hash (v0.2.0) trait
move pool::singleton::Box to the pool::box module
renamed pool::singleton::Pool to BoxPool and moved it into the pool::box module
move pool::singleton::arc::Arc to the pool::arc module
renamed pool::singleton::arc::Pool to ArcPool and moved it into the pool::arc module
[breaking-change] changed the target support of memory pool API to only support 32-bit x86 and a
subset of ARM targets. See the module level documentation of the pool module for details
relax trait requirements on IndexMap and IndexSet.
export IndexSet and IndexMap iterator types.
[breaking-change] export IndexMapKeys, IndexMapValues and
IndexMapValuesMut iterator types.
[breaking-change] this crate now uses portable-atomic v1.0 instead of atomic-polyfill for emulating
CAS instructions on targets where they're not natively available.
[breaking-change] From<&str> for String was replaced with TryFrom<&str> because the From trait must not fail.
[breaking-change] Renamed Cargo features
defmt-impl is now defmt-03
ufmt-impl is now ufmt
cas is removed, atomic polyfilling is now opt-in via the portable-atomic feature.
Vec::as_mut_slice is now a public method.
Fixed
Fixed a dropping_references warning in LinearMap.
Fixed IndexMap entry API returning wrong slot after an insert on vacant entry. (#360)
Removed
[breaking-change] this crate no longer has a Minimum Supported Rust Version (MSRV) guarantee and
should be used with the latest stable version of the Rust toolchain.
[breaking-change] removed the Init and Uninint type states from pool::singleton::Box
[breaking-change] removed the following pool::singleton::Box methods: freeze, forget and init
[breaking-change] removed the pool::singleton::arc::ArcInner type
[breaking-change] removed support for attributes from pool! and arc_pool!
... (truncated)
Commits
9feb664 Merge pull request #408 from rust-embedded/fix-pa-feature
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on heapless to permit the latest version.
Changelog
Sourced from heapless's changelog.
... (truncated)
Commits
9feb664
Merge pull request #408 from rust-embedded/fix-pa-featuref089e9c
Release v0.8.0f669323
Fix portable-atomic-x feature not enabling portable-atomic.ac26e82
Merge pull request #405 from newAM/docs-update402d3cc
Merge pull request #404 from newAM/rm-vec-const-assert4799f8c
docs: modernize intra doc linksc6e7c8f
Vec: remove do-nothing assertion45517a5
Merge pull request #348 from Foundation-Devices/jeandudey/mut_slice29954b4
Make Vec::as_mut_slice publicf290006
Merge pull request #402 from rust-embedded/fix-indexmapDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show