mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Increase MSRV to 1.56.1 (#2740)
This commit is contained in:
parent
0bdbd95328
commit
526ecb975e
4
.github/workflows/main-checks.yml
vendored
4
.github/workflows/main-checks.yml
vendored
@ -129,7 +129,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
# anyway to dynamically grep the MSRV from Cargo.toml?
|
# anyway to dynamically grep the MSRV from Cargo.toml?
|
||||||
- 1.56.0 # MSRV
|
- 1.56.1 # MSRV
|
||||||
- stable
|
- stable
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
# anyway to dynamically grep the MSRV from Cargo.toml?
|
# anyway to dynamically grep the MSRV from Cargo.toml?
|
||||||
- 1.56.0 # MSRV
|
- 1.56.1 # MSRV
|
||||||
- stable
|
- stable
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
<a href="https://docs.rs/yew/"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-yew-green"/></a>
|
<a href="https://docs.rs/yew/"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-yew-green"/></a>
|
||||||
<a href="https://discord.gg/VQck8X4"><img alt="Discord Chat" src="https://img.shields.io/discord/701068342760570933"/></a>
|
<a href="https://discord.gg/VQck8X4"><img alt="Discord Chat" src="https://img.shields.io/discord/701068342760570933"/></a>
|
||||||
<a href="https://gitlocalize.com/repo/7052/whole_project?utm_source=badge"> <img src="https://gitlocalize.com/repo/7052/whole_project/badge.svg" /> </a>
|
<a href="https://gitlocalize.com/repo/7052/whole_project?utm_source=badge"> <img src="https://gitlocalize.com/repo/7052/whole_project/badge.svg" /> </a>
|
||||||
<a href="https://blog.rust-lang.org/2020/12/31/Rust-1.56.0.html"><img alt="Rustc Version 1.56.0+" src="https://img.shields.io/badge/rustc-1.56%2B-lightgrey.svg"/></a>
|
<a href="https://blog.rust-lang.org/2020/12/31/Rust-1.56.1.html"><img alt="Rustc Version 1.56.1+" src="https://img.shields.io/badge/rustc-1.56%2B-lightgrey.svg"/></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h4>
|
<h4>
|
||||||
|
|||||||
@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
|
|||||||
keywords = ["web", "wasm", "frontend", "webasm", "webassembly"]
|
keywords = ["web", "wasm", "frontend", "webasm", "webassembly"]
|
||||||
categories = ["gui", "web-programming", "wasm"]
|
categories = ["gui", "web-programming", "wasm"]
|
||||||
description = "A framework for making client-side single-page apps"
|
description = "A framework for making client-side single-page apps"
|
||||||
rust-version = "1.56.0"
|
rust-version = "1.56.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[tasks.test]
|
[tasks.test]
|
||||||
clear = true
|
clear = true
|
||||||
toolchain = "1.56.0"
|
toolchain = "1.56.1"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
# test target can be optionally specified like `cargo make test html_macro`,
|
# test target can be optionally specified like `cargo make test html_macro`,
|
||||||
args = ["test", "${@}"]
|
args = ["test", "${@}"]
|
||||||
|
|||||||
@ -6,7 +6,7 @@ edition = "2021"
|
|||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "Contains macros used with yew-router"
|
description = "Contains macros used with yew-router"
|
||||||
repository = "https://github.com/yewstack/yew"
|
repository = "https://github.com/yewstack/yew"
|
||||||
rust-version = "1.56.0"
|
rust-version = "1.56.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[tasks.test]
|
[tasks.test]
|
||||||
clear = true
|
clear = true
|
||||||
toolchain = "1.56.0"
|
toolchain = "1.56.1"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["test"]
|
args = ["test"]
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ keywords = ["web", "yew", "router"]
|
|||||||
categories = ["gui", "web-programming"]
|
categories = ["gui", "web-programming"]
|
||||||
description = "A router implementation for the Yew framework"
|
description = "A router implementation for the Yew framework"
|
||||||
repository = "https://github.com/yewstack/yew"
|
repository = "https://github.com/yewstack/yew"
|
||||||
rust-version = "1.56.0"
|
rust-version = "1.56.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
yew = { version = "0.19.3", path = "../yew", default-features= false }
|
yew = { version = "0.19.3", path = "../yew", default-features= false }
|
||||||
|
|||||||
@ -14,7 +14,7 @@ keywords = ["web", "webasm", "javascript"]
|
|||||||
categories = ["gui", "wasm", "web-programming"]
|
categories = ["gui", "wasm", "web-programming"]
|
||||||
description = "A framework for making client-side single-page apps"
|
description = "A framework for making client-side single-page apps"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
rust-version = "1.56.0"
|
rust-version = "1.56.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
console_error_panic_hook = "0.1"
|
console_error_panic_hook = "0.1"
|
||||||
|
|||||||
@ -11,7 +11,7 @@ bundler for Rust.
|
|||||||
To install Rust, follow the [official instructions](https://www.rust-lang.org/tools/install).
|
To install Rust, follow the [official instructions](https://www.rust-lang.org/tools/install).
|
||||||
|
|
||||||
:::important
|
:::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
|
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
|
`rustup show` (under "active toolchain") or alternatively `rustc --version`. To update your
|
||||||
toolchain, run `rustup update`.
|
toolchain, run `rustup update`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user