Skip to content

Commit 71aa641

Browse files
akrueldruin
andauthored
Enable resolver ver2 (#224)
* Enable resolver ver2 As maybe-async-cfg crate docs suggested * Updated CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: Diego Barrios Romero <[email protected]>
1 parent 8d9ea7d commit 71aa641

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SSD1306 monochrome OLED display.
1010
- Update examples
1111

1212
### Fixed
13+
- Switch to resolver version 2. This fixes compilation issues when the `async` feature is enabled.
1314
- Parentheses for expression in mode/terminal.rs (see [precedence](https://rust-lang.github.io/rust-clippy/master/index.html#precedence)) in mode/terminal.rs
1415
- Switch iterator in `write_str` in mode/terminal.rs from last() to next_back (see [double_ended_iterator_last](https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last))
1516
- If feature `async` is enabled, the `embedded_hal_async::i2c::I2c` is used instead of `embedded_hal::i2c::I2c` so the I2C can be shared

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ version = "0.9.0"
1212
edition = "2021"
1313
exclude = ["build.rs", "build.sh", "memory.x", "doc", "*.jpg", "*.png", "*.bmp"]
1414
rust-version = "1.75.0"
15+
resolver = "2"
1516

1617
[package.metadata.docs.rs]
1718
targets = ["thumbv7m-none-eabi", "thumbv7em-none-eabihf"]

0 commit comments

Comments
 (0)