From 989465031c02f482f9208b2e90d3cd9087fa5699 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 +- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- README.md | 6 ++++-- 4 files changed, 10 insertions(+), 5 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/CHANGELOG.md b/CHANGELOG.md index d357e1f7..a31aabe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased -No changes. +### Changed + +- The MSRV was bumped to 1.65 ([#367]) ## [v0.10.0] - 2023-11-30 @@ -619,6 +621,7 @@ let clocks = rcc [defmt]: https://github.com/knurling-rs/defmt [filter]: https://defmt.ferrous-systems.com/filtering.html +[#367]: https://github.com/stm32-rs/stm32f3xx-hal/pull/367 [#356]: https://github.com/stm32-rs/stm32f3xx-hal/pull/356 [#352]: https://github.com/stm32-rs/stm32f3xx-hal/pull/352 [#351]: https://github.com/stm32-rs/stm32f3xx-hal/pull/351 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