Skip to content

Commit

Permalink
Update MSRV to 1.60
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh3Rm4n committed Nov 28, 2023
1 parent 7aee3db commit 9e7c1e3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Toggle> for Switch` to reduce churn.
Expand Down Expand Up @@ -51,6 +50,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
It is also not consistent with the rest of the crates API. ([#352])
- Use [critical-section] crate instead of `interrupt_free`, which is not always
sound. ([#350])
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

Expand Down Expand Up @@ -621,6 +624,7 @@ let clocks = rcc
[#352]: https://github.com/stm32-rs/stm32f3xx-hal/pull/352
[#351]: https://github.com/stm32-rs/stm32f3xx-hal/pull/351
[#350]: https://github.com/stm32-rs/stm32f3xx-hal/pull/350
[#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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

<!-- This should not prevent anyone to use newer features. -->
Expand Down

0 comments on commit 9e7c1e3

Please sign in to comment.