From 526ecb975e55f005dcff6ab136d7e8850d786b98 Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Sun, 19 Jun 2022 18:45:52 +0500 Subject: [PATCH] Increase MSRV to 1.56.1 (#2740) --- .github/workflows/main-checks.yml | 4 ++-- README.md | 2 +- packages/yew-macro/Cargo.toml | 2 +- packages/yew-macro/Makefile.toml | 2 +- packages/yew-router-macro/Cargo.toml | 2 +- packages/yew-router-macro/Makefile.toml | 2 +- packages/yew-router/Cargo.toml | 2 +- packages/yew/Cargo.toml | 2 +- website/docs/getting-started/introduction.mdx | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main-checks.yml b/.github/workflows/main-checks.yml index 5c3833a58..dc5746e30 100644 --- a/.github/workflows/main-checks.yml +++ b/.github/workflows/main-checks.yml @@ -129,7 +129,7 @@ jobs: matrix: toolchain: # anyway to dynamically grep the MSRV from Cargo.toml? - - 1.56.0 # MSRV + - 1.56.1 # MSRV - stable steps: @@ -174,7 +174,7 @@ jobs: matrix: toolchain: # anyway to dynamically grep the MSRV from Cargo.toml? - - 1.56.0 # MSRV + - 1.56.1 # MSRV - stable - nightly diff --git a/README.md b/README.md index e70462f62..ca07b48ef 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ API Docs Discord Chat - Rustc Version 1.56.0+ + Rustc Version 1.56.1+

diff --git a/packages/yew-macro/Cargo.toml b/packages/yew-macro/Cargo.toml index 45aa3a314..ae17548fb 100644 --- a/packages/yew-macro/Cargo.toml +++ b/packages/yew-macro/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0" keywords = ["web", "wasm", "frontend", "webasm", "webassembly"] categories = ["gui", "web-programming", "wasm"] description = "A framework for making client-side single-page apps" -rust-version = "1.56.0" +rust-version = "1.56.1" [lib] proc-macro = true diff --git a/packages/yew-macro/Makefile.toml b/packages/yew-macro/Makefile.toml index 205f12b08..5c890bbde 100644 --- a/packages/yew-macro/Makefile.toml +++ b/packages/yew-macro/Makefile.toml @@ -1,6 +1,6 @@ [tasks.test] clear = true -toolchain = "1.56.0" +toolchain = "1.56.1" command = "cargo" # test target can be optionally specified like `cargo make test html_macro`, args = ["test", "${@}"] diff --git a/packages/yew-router-macro/Cargo.toml b/packages/yew-router-macro/Cargo.toml index f44eafdb9..e1beb4323 100644 --- a/packages/yew-router-macro/Cargo.toml +++ b/packages/yew-router-macro/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" license = "MIT OR Apache-2.0" description = "Contains macros used with yew-router" repository = "https://github.com/yewstack/yew" -rust-version = "1.56.0" +rust-version = "1.56.1" [lib] proc-macro = true diff --git a/packages/yew-router-macro/Makefile.toml b/packages/yew-router-macro/Makefile.toml index 7a0101ef3..7d9b6645a 100644 --- a/packages/yew-router-macro/Makefile.toml +++ b/packages/yew-router-macro/Makefile.toml @@ -1,6 +1,6 @@ [tasks.test] clear = true -toolchain = "1.56.0" +toolchain = "1.56.1" command = "cargo" args = ["test"] diff --git a/packages/yew-router/Cargo.toml b/packages/yew-router/Cargo.toml index 200f02e2d..d22c6d51c 100644 --- a/packages/yew-router/Cargo.toml +++ b/packages/yew-router/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["web", "yew", "router"] categories = ["gui", "web-programming"] description = "A router implementation for the Yew framework" repository = "https://github.com/yewstack/yew" -rust-version = "1.56.0" +rust-version = "1.56.1" [dependencies] yew = { version = "0.19.3", path = "../yew", default-features= false } diff --git a/packages/yew/Cargo.toml b/packages/yew/Cargo.toml index 1571d3057..74d823409 100644 --- a/packages/yew/Cargo.toml +++ b/packages/yew/Cargo.toml @@ -14,7 +14,7 @@ keywords = ["web", "webasm", "javascript"] categories = ["gui", "wasm", "web-programming"] description = "A framework for making client-side single-page apps" readme = "../../README.md" -rust-version = "1.56.0" +rust-version = "1.56.1" [dependencies] console_error_panic_hook = "0.1" diff --git a/website/docs/getting-started/introduction.mdx b/website/docs/getting-started/introduction.mdx index 07d9721b5..db4dd3f1e 100644 --- a/website/docs/getting-started/introduction.mdx +++ b/website/docs/getting-started/introduction.mdx @@ -11,7 +11,7 @@ bundler for Rust. To install Rust, follow the [official instructions](https://www.rust-lang.org/tools/install). :::important -The minimum supported Rust version (MSRV) for Yew is `1.56.0`. Older versions can cause unexpected +The minimum supported Rust version (MSRV) for Yew is `1.56.1`. Older versions can cause unexpected issues accompanied by incomprehensible error messages. You can check your toolchain version using `rustup show` (under "active toolchain") or alternatively `rustc --version`. To update your toolchain, run `rustup update`.