Skip to content

Commit

Permalink
Update MSRV to Rust 1.81 (#69)
Browse files Browse the repository at this point in the history
Required by downstream dependencies once we update to latest egui
  • Loading branch information
emilk authored Jan 29, 2025
1 parent 8b03e5e commit 4290e6a
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: 1.80.0
toolchain: 1.81.0
override: true

- name: Install packages (Linux)
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.80.0
toolchain: 1.81.0
target: wasm32-unknown-unknown
override: true
components: clippy
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: "1.80.0"
rust-version: "1.81.0"
log-level: warn
command: check

Expand All @@ -151,7 +151,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.80.0
toolchain: 1.81.0
target: wasm32-unknown-unknown
override: true
- name: Download and install Trunk binary
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = ["egui_plot", "demo", "examples/*"]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.80"
rust-version = "1.81"
version = "0.30.0"


Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------------------------------------------------------------------------
# Section identical to scripts/clippy_wasm/clippy.toml:

msrv = "1.80"
msrv = "1.81"

allow-unwrap-in-tests = true

Expand Down
2 changes: 1 addition & 1 deletion examples/custom_plot_manipulation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Ygor Souza <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.80"
rust-version = "1.81"
publish = false

[lints]
Expand Down
2 changes: 1 addition & 1 deletion examples/save_plot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["hacknus <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.80"
rust-version = "1.81"
publish = false

[lints]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".

[toolchain]
channel = "1.80" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145
channel = "1.81" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]
2 changes: 1 addition & 1 deletion scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -x
# Checks all tests, lints etc.
# Basically does what the CI does.

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

export RUSTFLAGS="-D warnings"
export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
Expand Down
2 changes: 1 addition & 1 deletion scripts/clippy_wasm/clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# -----------------------------------------------------------------------------
# Section identical to the main clippy.toml:

msrv = "1.80"
msrv = "1.81"

allow-unwrap-in-tests = true

Expand Down

0 comments on commit 4290e6a

Please sign in to comment.