-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to axum 0.7.1, dropped http-body dependency (#21)
* Updated to support axum 0.7.1 * Updated example to the latest axum 0.7.1 and workers 0.0.18. * Added default compilation target so that cargo build and cargo checks work just fine. * Dropped dependency http-body. * Fixed for stable - removed flag commited by mistake. * Added compatibility date back in. --------- Co-authored-by: Logan Keenan <[email protected]>
- Loading branch information
1 parent
cd4ff2b
commit 5ad675b
Showing
5 changed files
with
72 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
target = "wasm32-unknown-unknown" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name = "axum-cloudflare-adapter-example" | ||
workers_dev = true | ||
compatibility_date = "2023-11-29" | ||
|
||
main = "build/worker/shim.mjs" | ||
compatibility_date = "2022-01-20" | ||
|
||
[vars] | ||
WORKERS_RS_VERSION = "0.0.11" | ||
WORKERS_RS_VERSION = "0.0.18" | ||
|
||
[build] | ||
command = "cargo install -q worker-build --version 0.0.10 && worker-build --release" | ||
command = "cargo install -q worker-build && worker-build --release" |