diff --git a/.github/bors.toml b/.github/bors.toml index cad4468..0f213ce 100644 --- a/.github/bors.toml +++ b/.github/bors.toml @@ -5,9 +5,9 @@ status = [ "test (stable, x86_64-unknown-linux-gnu)", "test (stable, thumbv6m-none-eabi)", "test (stable, thumbv7m-none-eabi)", - "test (1.54.0, x86_64-unknown-linux-gnu)", - "test (1.54.0, thumbv6m-none-eabi)", - "test (1.54.0, thumbv7m-none-eabi)", + "test (1.59.0, x86_64-unknown-linux-gnu)", + "test (1.59.0, thumbv6m-none-eabi)", + "test (1.59.0, thumbv7m-none-eabi)", "test (nightly, x86_64-unknown-linux-gnu)", "test (nightly, thumbv6m-none-eabi)", "test (nightly, thumbv7m-none-eabi)", diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98650cd..d7ce340 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: # All generated code should be running on stable now rust: - stable - - 1.54.0 # MSRV + - 1.59.0 # MSRV - nightly # The default target we're compiling on and for diff --git a/README.md b/README.md index 46754d2..6067b23 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ on crates.io. ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.54 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59 and up. It *might* compile with older versions but that may change in any new patch release. See [here](docs/msrv.md) for details on how the MSRV may be upgraded. diff --git a/embedded-can/Cargo.toml b/embedded-can/Cargo.toml index 4ed2ede..22620d7 100644 --- a/embedded-can/Cargo.toml +++ b/embedded-can/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "embedded-can" version = "0.4.1" -edition = "2018" +edition = "2021" description = "HAL traits for Controller Area Network (CAN) devices." categories = ["embedded", "hardware-support", "no-std"] diff --git a/embedded-can/README.md b/embedded-can/README.md index 7c68b02..3380c43 100644 --- a/embedded-can/README.md +++ b/embedded-can/README.md @@ -1,7 +1,7 @@ [![crates.io](https://img.shields.io/crates/d/embedded-can.svg)](https://crates.io/crates/embedded-can) [![crates.io](https://img.shields.io/crates/v/embedded-can.svg)](https://crates.io/crates/embedded-can) [![Documentation](https://docs.rs/embedded-can/badge.svg)](https://docs.rs/embedded-can) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.54+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.59+-blue.svg) # `embedded-can` @@ -15,7 +15,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.54 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59 and up. It *might* compile with older versions but that may change in any new patch release. See [here](../docs/msrv.md) for details on how the MSRV may be upgraded. diff --git a/embedded-hal-async/Cargo.toml b/embedded-hal-async/Cargo.toml index 0999c2c..31b746e 100644 --- a/embedded-hal-async/Cargo.toml +++ b/embedded-hal-async/Cargo.toml @@ -5,7 +5,7 @@ authors = [ categories = ["asynchronous", "embedded", "hardware-support", "no-std"] description = "An asynchronous Hardware Abstraction Layer (HAL) for embedded systems" documentation = "https://docs.rs/embedded-hal-async" -edition = "2018" +edition = "2021" keywords = ["hal", "IO"] license = "MIT OR Apache-2.0" name = "embedded-hal-async" diff --git a/embedded-hal-bus/Cargo.toml b/embedded-hal-bus/Cargo.toml index b3f022f..54a9396 100644 --- a/embedded-hal-bus/Cargo.toml +++ b/embedded-hal-bus/Cargo.toml @@ -5,7 +5,7 @@ authors = [ categories = ["embedded", "hardware-support", "no-std"] description = "Bus/Device connection mechanisms for embedded-hal, a Hardware Abstraction Layer (HAL) for embedded systems" documentation = "https://docs.rs/embedded-hal-bus" -edition = "2018" +edition = "2021" keywords = ["hal", "IO"] license = "MIT OR Apache-2.0" name = "embedded-hal-bus" diff --git a/embedded-hal-bus/README.md b/embedded-hal-bus/README.md index b415705..a94b038 100644 --- a/embedded-hal-bus/README.md +++ b/embedded-hal-bus/README.md @@ -1,7 +1,7 @@ [![crates.io](https://img.shields.io/crates/d/embedded-hal-bus.svg)](https://crates.io/crates/embedded-hal-bus) [![crates.io](https://img.shields.io/crates/v/embedded-hal-bus.svg)](https://crates.io/crates/embedded-hal-bus) [![Documentation](https://docs.rs/embedded-hal-bus/badge.svg)](https://docs.rs/embedded-hal-bus) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.54+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.59+-blue.svg) # `embedded-hal-bus` @@ -27,7 +27,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.54 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59 and up. It *might* compile with older versions but that may change in any new patch release. See [here](../docs/msrv.md) for details on how the MSRV may be upgraded. diff --git a/embedded-hal-nb/Cargo.toml b/embedded-hal-nb/Cargo.toml index 6e8f49c..2c54b12 100644 --- a/embedded-hal-nb/Cargo.toml +++ b/embedded-hal-nb/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "embedded-hal-nb" version = "1.0.0-alpha.1" -edition = "2018" +edition = "2021" categories = ["embedded", "hardware-support", "no-std"] description = "Non-blocking Hardware Abstraction Layer (HAL) for embedded systems using the `nb` crate." @@ -16,5 +16,5 @@ embedded-hal = { version = "=1.0.0-alpha.9", path = "../embedded-hal" } nb = "1" [dev-dependencies] -cortex-m-rt = "=0.7.1" # 0.7.2 bumped its MSRV higher than embedded-hal's +cortex-m-rt = "0.7" stm32f1 = { version = "0.15", features = ["stm32f103", "rt"] } diff --git a/embedded-hal-nb/README.md b/embedded-hal-nb/README.md index b47a80d..f04b794 100644 --- a/embedded-hal-nb/README.md +++ b/embedded-hal-nb/README.md @@ -1,7 +1,7 @@ [![crates.io](https://img.shields.io/crates/d/embedded-hal-nb.svg)](https://crates.io/crates/embedded-hal-nb) [![crates.io](https://img.shields.io/crates/v/embedded-hal-nb.svg)](https://crates.io/crates/embedded-hal-nb) [![Documentation](https://docs.rs/embedded-hal-nb/badge.svg)](https://docs.rs/embedded-hal-nb) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.54+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.59+-blue.svg) # `embedded-hal-nb` @@ -17,7 +17,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.54 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59 and up. It *might* compile with older versions but that may change in any new patch release. See [here](../docs/msrv.md) for details on how the MSRV may be upgraded. diff --git a/embedded-hal/CHANGELOG.md b/embedded-hal/CHANGELOG.md index 7682542..24e4cdf 100644 --- a/embedded-hal/CHANGELOG.md +++ b/embedded-hal/CHANGELOG.md @@ -40,7 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). *** This is (also) an alpha release with breaking changes (sorry) *** ### Changed -- The Minimum Supported Rust Version (MSRV) is now 1.54.0 +- The Minimum Supported Rust Version (MSRV) is now 1.59.0 - `spi`: unify all traits into `SpiReadBus`, `SpiWriteBus` and `SpiBus` (read-write). - `spi`: Add `SpiDevice` trait to represent a single device in a (possibly shared) bus, with managed chip-select (CS) pin. - `spi`: Clarify that implementations are allowed to return before operations are finished, add `flush` to wait until finished. diff --git a/embedded-hal/Cargo.toml b/embedded-hal/Cargo.toml index 8f99da5..ef7be83 100644 --- a/embedded-hal/Cargo.toml +++ b/embedded-hal/Cargo.toml @@ -7,7 +7,7 @@ authors = [ categories = ["asynchronous", "embedded", "hardware-support", "no-std"] description = " A Hardware Abstraction Layer (HAL) for embedded systems " documentation = "https://docs.rs/embedded-hal" -edition = "2018" +edition = "2021" keywords = ["hal", "IO"] license = "MIT OR Apache-2.0" name = "embedded-hal" diff --git a/embedded-hal/README.md b/embedded-hal/README.md index 478b686..902e648 100644 --- a/embedded-hal/README.md +++ b/embedded-hal/README.md @@ -1,7 +1,7 @@ [![crates.io](https://img.shields.io/crates/d/embedded-hal.svg)](https://crates.io/crates/embedded-hal) [![crates.io](https://img.shields.io/crates/v/embedded-hal.svg)](https://crates.io/crates/embedded-hal) [![Documentation](https://docs.rs/embedded-hal/badge.svg)](https://docs.rs/embedded-hal) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.54+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.59+-blue.svg) # `embedded-hal` @@ -15,7 +15,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.54 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.59 and up. It *might* compile with older versions but that may change in any new patch release. See [here](../docs/msrv.md) for details on how the MSRV may be upgraded.