From f35bd2080dcdf82be3d398435198eee98257b9bd Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Tue, 2 Jul 2024 13:15:07 +0200 Subject: [PATCH] Bumps the MSRV to 1.65 --- .github/workflows/msrv.yml | 2 +- Cargo.toml | 2 +- README.md | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index b6fdfd00..6c2e3328 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.60.0 + toolchain: 1.65.0 target: thumbv7em-none-eabihf - run: cargo check --features=stm32f303xc,usb,rt,can,ld --lib diff --git a/Cargo.toml b/Cargo.toml index 55fbfa75..d4b08f46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ documentation = "https://docs.rs/stm32f3xx-hal" version = "0.10.0" exclude = ["codegen", ".markdownlint.yml"] resolver = "2" -rust-version = "1.60" +rust-version = "1.65" [package.metadata.docs.rs] features = ["stm32f303xc", "rt", "usb", "can", "enumset"] diff --git a/README.md b/README.md index 755de5f9..9ad4ef49 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.60+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.65+-blue.svg) `stm32f3xx-hal` contains a multi device hardware abstraction on top of the peripheral access API for the STMicro STM32F3 series microcontrollers. The @@ -37,7 +37,9 @@ Almost all of the implementation was shamelessly adapted from the [`stm32f30x-hal`][] crate by Jorge Aparicio. [`stm32f3`]: https://crates.io/crates/stm32f3 + [`stm32f30x-hal`]: https://github.com/japaric/stm32f30x-hal + [`embedded-hal`]: https://github.com/japaric/embedded-hal ## Getting Started @@ -88,7 +90,7 @@ You can find a list [here, in the docs][chip-features]. #### Note 1. This features are mutually exclusive. Only one feature / chip variant can be -chosen. + chosen. 2. You **have** to choose exactly **one** feature to build this crate at all. [chip-features]: https://docs.rs/stm32f3xx-hal/latest/stm32f3xx_hal/#target-chip-selection