Skip to content

Commit 21e82bb

Browse files
adri326Dirbaio
authored andcommitted
Document changes and document the alloc feature
1 parent 1c02ef9 commit 21e82bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

embedded-hal-bus/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10-
(Add unreleased changes here)
10+
- Added the `alloc` feature.
11+
- Added a new `RcDevice` for I2C and SPI, a reference-counting equivalent to `RefCellDevice`.
1112

1213
## [v0.2.0] - 2024-04-23
1314

embedded-hal-bus/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ provides mechanisms to obtain multiple `I2c` instances out of a single `I2c` ins
3434
`std::error::Error` for `DeviceError`.
3535
- **`async`**: enable `embedded-hal-async` support.
3636
- **`defmt-03`**: Derive `defmt::Format` from `defmt` 0.3 for enums and structs.
37+
- **`alloc`**: enable implementations using `alloc` (for instance, `spi::RcDevice`, which makes use of `alloc::rc::Rc`)
3738

3839
## Minimum Supported Rust Version (MSRV)
3940

0 commit comments

Comments
 (0)