From 5a632faf314032c099032cbba2f218f278a4bb2e Mon Sep 17 00:00:00 2001 From: Yang Keao Date: Tue, 26 Sep 2023 11:16:43 +0800 Subject: [PATCH] Bump MSRV to 1.65.0 Signed-off-by: Yang Keao --- .github/workflows/rust.yml | 10 ++++++++-- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 103f319c..c738861a 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 + run: | + cargo update -p anstyle@1.0.3 --precise 1.0.3 + cargo update -p clap_builder@4.4.5 --precise 4.4.5 + cargo update -p clap_lex@0.5.1 --precise 0.5.1 + - name: Run cargo clippy prost uses: actions-rs/cargo@v1.0.3 with: @@ -56,7 +62,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - toolchain: [stable, nightly, 1.64.0] + toolchain: [stable, nightly, 1.65.0] target: [ x86_64-unknown-linux-gnu, 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.