Skip to content

Commit

Permalink
update rust version to 1.66
Browse files Browse the repository at this point in the history
  • Loading branch information
logankeenan committed Nov 29, 2023
1 parent 5ad675b commit 60be598
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "todo-worker"
version = "0.0.0"
edition = "2021"
rust-version = "1.70.0"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down

0 comments on commit 60be598

Please sign in to comment.