forked from informalsystems/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump MSRV to 1.57 and instruct clippy to lint against this version (i…
…nformalsystems#1660) * Bump rust-version to 1.57 in Cargo.toml * Add clippy.toml with the MSRV configuration Currently at 1.57.0 due to some recent lint-driven changes requiring the newest stable Rust. * Updated all mentions of MSRV to 1.57 Also in the guide. * Changelog entry for informalsystems#1660 * Add an issue template with Rust update checklist As the process of updating to a new Rust version, especially when bumping the MSRV, requires many steps and some of them tend to get forgotten, make an issue template with a checklist of all the steps. * Advise on fixing lints in rust-update template
- Loading branch information
Showing
10 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Update MSRV to Rust 1.57 | ||
([#1660](https://github.com/informalsystems/ibc-rs/issues/1660)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Rust version update | ||
about: A checklist to perform to update to a new version of Rust. | ||
--- | ||
|
||
# Update to Rust release 1.x.y | ||
|
||
🦀 | ||
|
||
- [ ] Update the version in `rust-toolchain.toml`. | ||
- [ ] Run `cargo clippy --all-features --fix`, review and commit the automatic | ||
fixes, and fix all reported lints. Try to resolve the root causes for | ||
the lints rather than silencing them with `#[allow(...)]`. | ||
|
||
## Update the MSRV (optional) | ||
|
||
Additional steps to perform in order to make the new minimal supported | ||
Rust version: | ||
|
||
- [ ] Update the `rust-version` fields in all `Cargo.toml` files. | ||
- [ ] Update the `msrv` field in `clippy.toml` and fix all lints reported by | ||
`cargo clippy --all-features`. | ||
- [ ] Update the MSRV shields in README files: | ||
- `README.md` | ||
- `relayer-rest/README.md` | ||
- [ ] Update the MSRV in the guide: `guide/src/pre_requisites.md` | ||
- [ ] Add a `.changelog` entry to the `breaking-changes` section, | ||
announcing the new MSRV. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
msrv = "1.57.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters