Skip to content

Commit

Permalink
Document changes and document the alloc feature
Browse files Browse the repository at this point in the history
  • Loading branch information
adri326 authored and Dirbaio committed Jul 26, 2024
1 parent 1c02ef9 commit 21e82bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion embedded-hal-bus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

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

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

Expand Down
1 change: 1 addition & 0 deletions embedded-hal-bus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ provides mechanisms to obtain multiple `I2c` instances out of a single `I2c` ins
`std::error::Error` for `DeviceError`.
- **`async`**: enable `embedded-hal-async` support.
- **`defmt-03`**: Derive `defmt::Format` from `defmt` 0.3 for enums and structs.
- **`alloc`**: enable implementations using `alloc` (for instance, `spi::RcDevice`, which makes use of `alloc::rc::Rc`)

## Minimum Supported Rust Version (MSRV)

Expand Down

0 comments on commit 21e82bb

Please sign in to comment.