Skip to content

Commit b018e11

Browse files
committed
1.56 go brrrr
1 parent 11c48be commit b018e11

15 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
strategy:
148148
matrix:
149149
toolchain:
150-
- 1.54.0 # MSRV
150+
- 1.56.0 # MSRV
151151
- stable
152152

153153
steps:
@@ -188,7 +188,7 @@ jobs:
188188
strategy:
189189
matrix:
190190
toolchain:
191-
- 1.54.0 # MSRV
191+
- 1.56.0 # MSRV
192192
- stable
193193
- nightly
194194

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Alternatively, you can set the `ECHO_SERVER_URL` environment variable to the URL
6060

6161
When adding or updating tests, please make sure to update the appropriate `stderr` file, which you can find [here](https://github.com/yewstack/yew/tree/master/packages/yew-macro/tests/macro) for the `html!` macro.
6262
These files ensure that macro compilation errors are correct and easy to understand.
63-
These errors can change with each release of the compiler, so they should be generated with the Rust version 1.54
63+
These errors can change with each release of the compiler, so they should be generated with the Rust version 1.56
6464
(because some tests make use of const generics which were stabilized in that version).
6565

6666
To update or generate a new `stderr` file you can run `cargo make test-overwrite` in the `yew-macro` directory.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="https://docs.rs/yew/"><img alt="API Docs" src="https://img.shields.io/badge/docs.rs-yew-green"/></a>
1313
<a href="https://discord.gg/VQck8X4"><img alt="Discord Chat" src="https://img.shields.io/discord/701068342760570933"/></a>
1414
<a href="https://gitlocalize.com/repo/4999"> <img src="https://gitlocalize.com/repo/4999/whole_project/badge.svg" /> </a>
15-
<a href="https://blog.rust-lang.org/2020/12/31/Rust-1.54.0.html"><img alt="Rustc Version 1.54.0+" src="https://img.shields.io/badge/rustc-1.54%2B-lightgrey.svg"/></a>
15+
<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>
1616
</p>
1717

1818
<h4>

packages/yew-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
1010
keywords = ["web", "wasm", "frontend", "webasm", "webassembly"]
1111
categories = ["gui", "web-programming", "wasm"]
1212
description = "A framework for making client-side single-page apps"
13-
rust-version = "1.54.0"
13+
rust-version = "1.56.0"
1414

1515
[lib]
1616
proc-macro = true

packages/yew-macro/tests/classes_macro_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[allow(dead_code)]
2-
#[rustversion::attr(stable(1.54), test)]
2+
#[rustversion::attr(stable(1.56), test)]
33
fn classes_macro() {
44
let t = trybuild::TestCases::new();
55
t.pass("tests/classes_macro/*-pass.rs");

packages/yew-macro/tests/derive_props_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[allow(dead_code)]
2-
#[rustversion::attr(stable(1.54), test)]
2+
#[rustversion::attr(stable(1.56), test)]
33
fn derive_props() {
44
let t = trybuild::TestCases::new();
55
t.pass("tests/derive_props/pass.rs");

packages/yew-macro/tests/function_attr_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[allow(dead_code)]
2-
#[rustversion::attr(stable(1.54), test)]
2+
#[rustversion::attr(stable(1.56), test)]
33
fn tests() {
44
let t = trybuild::TestCases::new();
55
t.pass("tests/function_component_attr/*-pass.rs");

packages/yew-macro/tests/html_macro_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use yew::{html, html_nested};
22

33
#[allow(dead_code)]
4-
#[rustversion::attr(stable(1.54), test)]
4+
#[rustversion::attr(stable(1.56), test)]
55
fn html_macro() {
66
let t = trybuild::TestCases::new();
77

packages/yew-macro/tests/props_macro_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[allow(dead_code)]
2-
#[rustversion::attr(stable(1.54), test)]
2+
#[rustversion::attr(stable(1.56), test)]
33
fn props_macro() {
44
let t = trybuild::TestCases::new();
55
t.pass("tests/props_macro/*-pass.rs");

packages/yew-router-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2018"
66
license = "MIT OR Apache-2.0"
77
description = "Contains macros used with yew-router"
88
repository = "https://github.com/yewstack/yew"
9-
rust-version = "1.54.0"
9+
rust-version = "1.56.0"
1010

1111
[lib]
1212
proc-macro = true

0 commit comments

Comments
 (0)