Skip to content

Commit

Permalink
Bump MSRV to 1.65.0
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Keao <[email protected]>
  • Loading branch information
YangKeao committed Sep 26, 2023
1 parent 69581d8 commit 5a632fa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: 1.64.0
toolchain: 1.65.0
override: true
components: rustfmt, clippy

Expand All @@ -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 [email protected] --precise 1.0.3
cargo update -p [email protected] --precise 4.4.5
cargo update -p [email protected] --precise 0.5.1
- name: Run cargo clippy prost
uses: actions-rs/[email protected]
with:
Expand All @@ -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,
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5a632fa

Please sign in to comment.