chore: Bump MSRV to 1.59
This commit is contained in:
parent
1073530ac6
commit
6939c048b0
@ -1,4 +1,4 @@
|
||||
msrv = "1.55"
|
||||
msrv = "1.59"
|
||||
avoid-breaking-exported-api = false
|
||||
disallowed-methods = [
|
||||
# https://github.com/serde-rs/json/issues/160
|
||||
|
8
.github/workflows/msrv.yml
vendored
8
.github/workflows/msrv.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Rust 1.55
|
||||
name: Rust 1.59
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
@ -35,11 +35,11 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install rust 1.55 toolchain
|
||||
- name: Install rust 1.59 toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: "1.55"
|
||||
toolchain: "1.59"
|
||||
|
||||
# Used to compile xtask
|
||||
- name: Install rust stable toolchain
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
# A stable compiler update should automatically not reuse old caches.
|
||||
# Add the MSRV as a stable cache key too so bumping it also gets us a
|
||||
# fresh cache.
|
||||
sharedKey: msrv1.55
|
||||
sharedKey: msrv1.59
|
||||
|
||||
- name: Run checks
|
||||
uses: actions-rs/cargo@v1
|
||||
|
@ -53,7 +53,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||
|
||||
## Minimum Rust version
|
||||
|
||||
Ruma currently requires Rust 1.55. In general, we will never require beta or
|
||||
Ruma currently requires Rust 1.59. In general, we will never require beta or
|
||||
nightly for crates.io releases of our crates, and we will try to avoid releasing
|
||||
crates that depend on features that were only just stabilized.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
msrv = "1.55"
|
||||
msrv = "1.59"
|
||||
avoid-breaking-exported-api = false
|
||||
disallowed-methods = [
|
||||
# https://github.com/serde-rs/json/issues/160
|
||||
|
@ -9,7 +9,7 @@ mod spec_links;
|
||||
|
||||
use spec_links::check_spec_links;
|
||||
|
||||
const MSRV: &str = "1.55";
|
||||
const MSRV: &str = "1.59";
|
||||
const NIGHTLY: &str = "nightly";
|
||||
|
||||
#[derive(Args)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user