diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 103f319c..c4474244 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,7 +19,7 @@ jobs: uses: actions-rs/toolchain@v1.0.7 with: profile: minimal - toolchain: 1.64.0 + toolchain: 1.65.0 override: true components: rustfmt, clippy @@ -35,6 +35,12 @@ jobs: - name: Remove pre-generated prost files to force regeneration run: rm proto/*.rs + - name: Set precise version to allow building on 1.65.0 + uses: actions-rs/cargo@v1.0.3 + with: + command: update + args: -p anstyle@1.0.3 --precise 1.0.3 + - name: Run cargo clippy prost uses: actions-rs/cargo@v1.0.3 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 20786ae5..12faf317 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Changed +- Bump the MSRV to 1.65.0 (#204) + ## [0.12.1] - 2023-07-25 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 731e8d4b..bea6b2c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ description = "An internal perf tools for rust programs." repository = "https://github.com/tikv/pprof-rs" documentation = "https://docs.rs/pprof/" readme = "README.md" -rust-version = "1.64.0" # MSRV +rust-version = "1.65.0" # MSRV [features] default = ["cpp"] diff --git a/README.md b/README.md index 3157599d..83f060ce 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ Unit tests have been added to guarantee there is no `malloc` in sample functions ## Minimum Supported Rust Version -Rust 1.64 or higher. +Rust 1.65 or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.