diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 58b89797..94e2b4e8 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.59.0 + toolchain: 1.60.0 target: thumbv7em-none-eabihf - run: cargo check --features=stm32f303xc,usb,rt,can,ld --lib diff --git a/CHANGELOG.md b/CHANGELOG.md index be654f59..6577d385 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Update `stm32f3` pac to v0.15.1 ([#335]) - Update `bxcan` pac to v0.7.0 ([#335]) -- The MSRV was bumped to 1.59 ([#335]) - Deprecate `Toggle` enum and use `Switch` instead for better naming purposes ([#334]) - Add `impl From for Switch` to reduce churn. @@ -48,6 +47,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). implementation, but it is hard to maintain the current implementation and not easy to verify if it is really a safe implementation. It is also not consistent with the rest of the crates API. ([#352]) + It is also not consistent with the rest of the crates API. +- Use [critical-section] crate instead of `interrupt_free`, which is not always + sound. +- The MSRV was bumped to 1.60 ([#349]) + +[critical-section]: https://github.com/rust-embedded/critical-section ## [v0.9.2] - 2023-02-20 @@ -615,6 +620,7 @@ let clocks = rcc [#352]: https://github.com/stm32-rs/stm32f3xx-hal/pull/352 [#351]: https://github.com/stm32-rs/stm32f3xx-hal/pull/351 +[#349]: https://github.com/stm32-rs/stm32f3xx-hal/pull/349 [#345]: https://github.com/stm32-rs/stm32f3xx-hal/pull/345 [#346]: https://github.com/stm32-rs/stm32f3xx-hal/pull/346 [#347]: https://github.com/stm32-rs/stm32f3xx-hal/pull/347 diff --git a/Cargo.toml b/Cargo.toml index 8802e6a7..32c07a9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ documentation = "https://docs.rs/stm32f3xx-hal" version = "0.9.2" exclude = ["codegen", ".markdownlint.yml"] resolver = "2" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] features = ["stm32f303xc", "rt", "usb", "can", "enumset"] diff --git a/README.md b/README.md index f94378eb..c94bd392 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Crate](https://img.shields.io/crates/v/stm32f3xx-hal.svg)](https://crates.io/crates/stm32f3xx-hal) [![Docs](https://docs.rs/stm32f3xx-hal/badge.svg)](https://docs.rs/stm32f3xx-hal) [![Crates.io](https://img.shields.io/crates/d/stm32f3xx-hal.svg)](https://crates.io/crates/stm32f3xx-hal) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.59+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.60+-blue.svg) `stm32f3xx-hal` contains a multi device hardware abstraction on top of the peripheral access API for the STMicro STM32F3 series microcontrollers. The @@ -138,7 +138,7 @@ See the [examples folder](examples) for more example programs. ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.59.0 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.60.0 and up. It *might* compile with older versions but that may change in any new patch release.