diff --git a/.clippy.toml b/.clippy.toml index a1d46bbd..eae384e9 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.59" +msrv = "1.60" avoid-breaking-exported-api = false disallowed-methods = [ # https://github.com/serde-rs/json/issues/160 diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 502735f6..0b56b1a6 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Rust 1.59 +name: Rust 1.60 env: CARGO_TERM_COLOR: always @@ -35,11 +35,11 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Install rust 1.59 toolchain + - name: Install rust 1.60 toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: "1.59" + toolchain: "1.60" # 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.59 + sharedKey: msrv1.60 - name: Run checks uses: actions-rs/cargo@v1 diff --git a/README.md b/README.md index 8530e0b1..70df6e19 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Minimum Rust version -Ruma currently requires Rust 1.59. In general, we will never require beta or +Ruma currently requires Rust 1.60. 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. diff --git a/crates/ruma-appservice-api/Cargo.toml b/crates/ruma-appservice-api/Cargo.toml index f8f09301..62e2946c 100644 --- a/crates/ruma-appservice-api/Cargo.toml +++ b/crates/ruma-appservice-api/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/ruma/ruma" version = "0.6.0" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-client-api/Cargo.toml b/crates/ruma-client-api/Cargo.toml index e0316f7e..9f385433 100644 --- a/crates/ruma-client-api/Cargo.toml +++ b/crates/ruma-client-api/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/ruma/ruma" version = "0.14.1" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-client/Cargo.toml b/crates/ruma-client/Cargo.toml index 086079f9..4d4ac94a 100644 --- a/crates/ruma-client/Cargo.toml +++ b/crates/ruma-client/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/ruma/ruma" version = "0.9.0" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-common/Cargo.toml b/crates/ruma-common/Cargo.toml index a22c27b0..8e97c767 100644 --- a/crates/ruma-common/Cargo.toml +++ b/crates/ruma-common/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" readme = "README.md" repository = "https://github.com/ruma/ruma" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-federation-api/Cargo.toml b/crates/ruma-federation-api/Cargo.toml index c5209051..79af371b 100644 --- a/crates/ruma-federation-api/Cargo.toml +++ b/crates/ruma-federation-api/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/ruma/ruma" version = "0.5.0" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-identifiers-validation/Cargo.toml b/crates/ruma-identifiers-validation/Cargo.toml index 781aa6ca..77fc368a 100644 --- a/crates/ruma-identifiers-validation/Cargo.toml +++ b/crates/ruma-identifiers-validation/Cargo.toml @@ -6,7 +6,7 @@ repository = "https://github.com/ruma/ruma" license = "MIT" version = "0.8.1" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-identity-service-api/Cargo.toml b/crates/ruma-identity-service-api/Cargo.toml index da175ca8..9c67e167 100644 --- a/crates/ruma-identity-service-api/Cargo.toml +++ b/crates/ruma-identity-service-api/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" readme = "README.md" repository = "https://github.com/ruma/ruma" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-macros/Cargo.toml b/crates/ruma-macros/Cargo.toml index 188b43bb..86b92710 100644 --- a/crates/ruma-macros/Cargo.toml +++ b/crates/ruma-macros/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/ruma/ruma" version = "0.9.2" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [lib] proc-macro = true diff --git a/crates/ruma-push-gateway-api/Cargo.toml b/crates/ruma-push-gateway-api/Cargo.toml index 35d6228f..b3316fae 100644 --- a/crates/ruma-push-gateway-api/Cargo.toml +++ b/crates/ruma-push-gateway-api/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" readme = "README.md" repository = "https://github.com/ruma/ruma" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma-state-res/.clippy.toml b/crates/ruma-state-res/.clippy.toml index 807a7017..aee60a71 100644 --- a/crates/ruma-state-res/.clippy.toml +++ b/crates/ruma-state-res/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.59" +msrv = "1.60" avoid-breaking-exported-api = false disallowed-methods = [ # https://github.com/serde-rs/json/issues/160 diff --git a/crates/ruma-state-res/Cargo.toml b/crates/ruma-state-res/Cargo.toml index bbeaa538..ed0e67b7 100644 --- a/crates/ruma-state-res/Cargo.toml +++ b/crates/ruma-state-res/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" license = "MIT" version = "0.7.0" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/crates/ruma/Cargo.toml b/crates/ruma/Cargo.toml index 8eaa1472..c61b6c8e 100644 --- a/crates/ruma/Cargo.toml +++ b/crates/ruma/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" license = "MIT" version = "0.6.3" edition = "2021" -rust-version = "1.59" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 70f49952..8eeb34d2 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -9,7 +9,7 @@ mod spec_links; use spec_links::check_spec_links; -const MSRV: &str = "1.59"; +const MSRV: &str = "1.60"; const NIGHTLY: &str = "nightly"; #[derive(Args)]