Raise MSRV to 1.55

Otherwise `cargo check` errors on the `-Wclippy::…` arguments from
`.cargo/config.toml`.
Usage as a dependency continues to work with 1.53 for now, but since
it's not changed this could soon change.
This commit is contained in:
Jonas Platte 2021-10-19 21:36:39 +02:00
parent 1aca228f51
commit 0e49b70d65
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
msrv = "1.53" msrv = "1.55"
avoid-breaking-exported-api = false avoid-breaking-exported-api = false
disallowed-types = [ disallowed-types = [
"std::collections::HashMap", "std::collections::HashMap",

View File

@ -1,4 +1,4 @@
name: Rust 1.53 name: Rust 1.55
on: on:
push: push:
@ -13,11 +13,11 @@ jobs:
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install rust 1.53 toolchain - name: Install rust 1.55 toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: '1.53' toolchain: '1.55'
# Used to compile xtask # Used to compile xtask
- name: Install rust stable toolchain - name: Install rust stable toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1

View File

@ -49,7 +49,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
## Minimum Rust version ## Minimum Rust version
Ruma currently requires Rust 1.53. In general, we will never require beta or Ruma currently requires Rust 1.55. In general, we will never require beta or
nightly for crates.io releases of our crates, and we will try to avoid releasing 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. crates that depend on features that were only just stabilized.

View File

@ -1,4 +1,4 @@
msrv = "1.53" msrv = "1.55"
avoid-breaking-exported-api = false avoid-breaking-exported-api = false
disallowed-types = [] disallowed-types = []
enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" } ] enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" } ]

View File

@ -4,7 +4,7 @@ use xshell::pushd;
use crate::{cmd, Metadata, Result}; use crate::{cmd, Metadata, Result};
const MSRV: &str = "1.53"; const MSRV: &str = "1.55";
/// Task to run CI tests. /// Task to run CI tests.
pub struct CiTask { pub struct CiTask {