From 3b43c7661f0aa459635a6154ac73087cbbff0746 Mon Sep 17 00:00:00 2001 From: iceiix <43691553+iceiix@users.noreply.github.com> Date: Sat, 5 Feb 2022 16:13:51 -0800 Subject: [PATCH] Update to Rust 1.58 (#661) (fixes #650) * Bump Rust version to 1.58 * Update to Rust 1.58 in CI and readme * Cargo.toml: fix typo for rust-version (https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field) Co-authored-by: Ben Reeves --- .github/workflows/build.yaml | 8 ++++---- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a0ae137..2738c6e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,7 @@ jobs: uses: actions-rs/toolchain@v1 with: # TODO: refactor toolchain version - toolchain: 1.57.0 + toolchain: 1.58.0 components: clippy, rustfmt default: true - name: Install dependencies @@ -49,7 +49,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.57.0 + toolchain: 1.58.0 components: clippy, rustfmt default: true - name: Build binary @@ -83,7 +83,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.57.0 + toolchain: 1.58.0 components: clippy, rustfmt default: true - name: Build binary @@ -128,7 +128,7 @@ jobs: uses: actions-rs/toolchain@v1 with: # TODO: refactor toolchain version - toolchain: 1.57.0 + toolchain: 1.58.0 components: clippy, rustfmt default: true - name: Install wasm-pack diff --git a/Cargo.toml b/Cargo.toml index dd581be..ba47c3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "stevenarella" version = "0.0.1" authors = [ "Thinkofdeath ", "iceiix " ] edition = "2021" -rust_version = "1.57" +rust-version = "1.58" resolver = "2" description = "Multi-protocol multi-platform Minecraft-compatible client" repository = "https://github.com/iceiix/stevenarella" diff --git a/README.md b/README.md index 6baeb56..6928c53 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ from [GitHub Actions](https://actions-badge.atrox.dev/iceiix/stevenarella/goto?r ## Dependencies -Requires Rust stable version 1.57.0 or newer. +Requires Rust stable version 1.58.0 or newer. **Debian/Ubuntu**