Skip to content

Commit 5f01042

Browse files
bors[bot]nospam2678Dirbaio
authored
Merge #416
416: Raise MSRV for embedded-hal-async to Rust 1.65.0 r=Dirbaio a=nospam2678 Required for generic_associated_types feature. Co-authored-by: Martin <[email protected]> Co-authored-by: Dario Nieuwenhuis <[email protected]>
2 parents c7ac0df + f41a73a commit 5f01042

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

embedded-hal-async/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ name = "embedded-hal-async"
1212
readme = "README.md"
1313
repository = "https://github.com/rust-embedded/embedded-hal"
1414
version = "0.2.0-alpha.0"
15+
rust-version = "1.65.0"
1516

1617
[dependencies]
1718
embedded-hal = { version = "=1.0.0-alpha.9", path = "../embedded-hal" }

embedded-hal-async/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[![crates.io](https://img.shields.io/crates/d/embedded-hal-async.svg)](https://crates.io/crates/embedded-hal-async)
22
[![crates.io](https://img.shields.io/crates/v/embedded-hal-async.svg)](https://crates.io/crates/embedded-hal-async)
33
[![Documentation](https://docs.rs/embedded-hal-async/badge.svg)](https://docs.rs/embedded-hal-async)
4-
<!--
5-
![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.46+-blue.svg)
6-
-->
74

85
# `embedded-hal-async`
96

@@ -20,12 +17,13 @@ This project is developed and maintained by the [HAL team](https://github.com/ru
2017

2118
[API reference]: https://docs.rs/embedded-hal-async
2219

23-
<!--
2420
## Minimum Supported Rust Version (MSRV)
2521

26-
This crate is guaranteed to compile on stable Rust 1.46 and up. It *might*
27-
compile with older versions but that may change in any new patch release.
28-
-->
22+
This crate requires Rust nightly newer than `nightly-2022-11-22`, due to requiring support for
23+
`async fn` in traits (AFIT), which is not stable yet.
24+
25+
Keep in mind Rust nightlies can make backwards-incompatible changes to unstable features
26+
at any time.
2927

3028
## License
3129

0 commit comments

Comments
 (0)