From cf54e7bc27fca7c7dea2c70a5e2e374156b80147 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 15 Aug 2023 19:18:16 +0200 Subject: [PATCH] Release embedded-hal{,-async,-bus} v1.0.0-rc.1, embedded-hal-bus v0.1.0-rc.1 --- embedded-hal-async/Cargo.toml | 4 ++-- embedded-hal-async/README.md | 8 ++++++-- embedded-hal-bus/Cargo.toml | 6 +++--- embedded-hal-nb/Cargo.toml | 4 ++-- embedded-hal/Cargo.toml | 4 ++-- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/embedded-hal-async/Cargo.toml b/embedded-hal-async/Cargo.toml index 918514052..b10cfc734 100644 --- a/embedded-hal-async/Cargo.toml +++ b/embedded-hal-async/Cargo.toml @@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0" name = "embedded-hal-async" readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" -version = "0.2.0-alpha.2" +version = "1.0.0-rc.1" rust-version = "1.65.0" [features] defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03"] [dependencies] -embedded-hal = { version = "=1.0.0-alpha.11", path = "../embedded-hal" } +embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" } defmt-03 = { package = "defmt", version = "0.3", optional = true } \ No newline at end of file diff --git a/embedded-hal-async/README.md b/embedded-hal-async/README.md index d22d658d8..d42b77a5e 100644 --- a/embedded-hal-async/README.md +++ b/embedded-hal-async/README.md @@ -20,10 +20,14 @@ or a console to operate either on hardware serial ports or on virtual ones like ## Minimum Supported Rust Version (MSRV) This crate requires Rust nightly newer than `nightly-2022-11-22`, due to requiring support for -`async fn` in traits (AFIT), which is not stable yet. +`async fn` in traits (AFIT), which is not stable yet. Keep in mind Rust nightlies can make backwards-incompatible changes to unstable features -at any time. +at any time. If this happens, we might do changes that increase the minimum required nightly +version in any patch release. + +When AFIT becomes stable, MSRV will be bumped to the Rust version that stabilizes it, after which +point the [standard MSRV bump policy](../docs/msrv.md) will apply. ## License diff --git a/embedded-hal-bus/Cargo.toml b/embedded-hal-bus/Cargo.toml index 6edcdc75c..bfd2a754d 100644 --- a/embedded-hal-bus/Cargo.toml +++ b/embedded-hal-bus/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0" name = "embedded-hal-bus" readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" -version = "0.1.0-alpha.3" +version = "0.1.0-rc.1" [features] std = [] @@ -19,8 +19,8 @@ async = ["dep:embedded-hal-async"] defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03", "embedded-hal-async?/defmt-03"] [dependencies] -embedded-hal = { version = "=1.0.0-alpha.11", path = "../embedded-hal" } -embedded-hal-async = { version = "=0.2.0-alpha.2", path = "../embedded-hal-async", optional = true } +embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" } +embedded-hal-async = { version = "=1.0.0-rc.1", path = "../embedded-hal-async", optional = true } critical-section = { version = "1.0" } defmt-03 = { package = "defmt", version = "0.3", optional = true } diff --git a/embedded-hal-nb/Cargo.toml b/embedded-hal-nb/Cargo.toml index 0bf3d7346..66e941923 100644 --- a/embedded-hal-nb/Cargo.toml +++ b/embedded-hal-nb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "embedded-hal-nb" -version = "1.0.0-alpha.3" +version = "1.0.0-rc.1" edition = "2021" categories = ["embedded", "hardware-support", "no-std"] @@ -12,7 +12,7 @@ readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" [dependencies] -embedded-hal = { version = "=1.0.0-alpha.11", path = "../embedded-hal" } +embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" } nb = "1" [dev-dependencies] diff --git a/embedded-hal/Cargo.toml b/embedded-hal/Cargo.toml index ad9a0fdc3..396cf972b 100644 --- a/embedded-hal/Cargo.toml +++ b/embedded-hal/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0" name = "embedded-hal" readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" -version = "1.0.0-alpha.11" +version = "1.0.0-rc.1" [dependencies] -defmt-03 = { package = "defmt", version = "0.3", optional = true } \ No newline at end of file +defmt-03 = { package = "defmt", version = "0.3", optional = true }