From 60be598914885ce497f3ef61ef5177087f3eaede Mon Sep 17 00:00:00 2001 From: Logan Keenan Date: Wed, 29 Nov 2023 07:42:11 -0600 Subject: [PATCH] update rust version to 1.66 --- .github/workflows/build-worker.yml | 5 +++-- .github/workflows/test.yml | 3 ++- adapter/Cargo.toml | 2 +- example/Cargo.toml | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-worker.yml b/.github/workflows/build-worker.yml index 1bfa1da..26f8616 100644 --- a/.github/workflows/build-worker.yml +++ b/.github/workflows/build-worker.yml @@ -16,13 +16,14 @@ jobs: node-version-file: '.nvmrc' - name: Install Wrangler - run: npm install -g wrangler + run: npm install -g wrangler@2.20.1 - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.70.0 target: wasm32-unknown-unknown + override: true - name: Run Wrangler build run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 919939f..d88939a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,9 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.66.0 target: wasm32-unknown-unknown + override: true - name: Install wasm-pack run: | diff --git a/adapter/Cargo.toml b/adapter/Cargo.toml index 2ba25ad..9aec315 100644 --- a/adapter/Cargo.toml +++ b/adapter/Cargo.toml @@ -4,7 +4,7 @@ version = "0.7.1" edition = "2021" authors = ["Logan Keenan"] description = "An adapter to easily run an Axum server in a Cloudflare worker." -rust-version = "1.63" +rust-version = "1.66" repository = "https://github.com/logankeenan/axum-cloudflare-adapter" license = "MIT" keywords = ["Cloudflare", "Axum", "WASM"] diff --git a/example/Cargo.toml b/example/Cargo.toml index b6c97c1..7beb323 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -2,6 +2,7 @@ name = "todo-worker" version = "0.0.0" edition = "2021" +rust-version = "1.70.0" [lib] crate-type = ["cdylib", "rlib"]