Skip to content

Commit 4290e6a

Browse files
authored
Update MSRV to Rust 1.81 (#69)
Required by downstream dependencies once we update to latest egui
1 parent 8b03e5e commit 4290e6a

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.github/workflows/rust.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions-rs/toolchain@v1
2323
with:
2424
profile: default
25-
toolchain: 1.80.0
25+
toolchain: 1.81.0
2626
override: true
2727

2828
- name: Install packages (Linux)
@@ -109,7 +109,7 @@ jobs:
109109
- uses: actions-rs/toolchain@v1
110110
with:
111111
profile: minimal
112-
toolchain: 1.80.0
112+
toolchain: 1.81.0
113113
target: wasm32-unknown-unknown
114114
override: true
115115
components: clippy
@@ -137,7 +137,7 @@ jobs:
137137
- uses: actions/checkout@v3
138138
- uses: EmbarkStudios/cargo-deny-action@v1
139139
with:
140-
rust-version: "1.80.0"
140+
rust-version: "1.81.0"
141141
log-level: warn
142142
command: check
143143

@@ -151,7 +151,7 @@ jobs:
151151
- uses: actions-rs/toolchain@v1
152152
with:
153153
profile: minimal
154-
toolchain: 1.80.0
154+
toolchain: 1.81.0
155155
target: wasm32-unknown-unknown
156156
override: true
157157
- name: Download and install Trunk binary

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = ["egui_plot", "demo", "examples/*"]
66
[workspace.package]
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
9-
rust-version = "1.80"
9+
rust-version = "1.81"
1010
version = "0.30.0"
1111

1212

clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# -----------------------------------------------------------------------------
44
# Section identical to scripts/clippy_wasm/clippy.toml:
55

6-
msrv = "1.80"
6+
msrv = "1.81"
77

88
allow-unwrap-in-tests = true
99

examples/custom_plot_manipulation/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["Ygor Souza <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.80"
7+
rust-version = "1.81"
88
publish = false
99

1010
[lints]

examples/save_plot/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
authors = ["hacknus <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.80"
7+
rust-version = "1.81"
88
publish = false
99

1010
[lints]

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
66

77
[toolchain]
8-
channel = "1.80" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145
8+
channel = "1.81" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145
99
components = ["rustfmt", "clippy"]
1010
targets = ["wasm32-unknown-unknown"]

scripts/check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -x
99
# Checks all tests, lints etc.
1010
# Basically does what the CI does.
1111

12-
cargo +1.80 install --quiet typos-cli
12+
cargo +1.81 install --quiet typos-cli
1313

1414
export RUSTFLAGS="-D warnings"
1515
export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454

scripts/clippy_wasm/clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# -----------------------------------------------------------------------------
99
# Section identical to the main clippy.toml:
1010

11-
msrv = "1.80"
11+
msrv = "1.81"
1212

1313
allow-unwrap-in-tests = true
1414

0 commit comments

Comments
 (0)