#cloudflare-workers #worker #build #serverless #wasm

app worker-build

This is a tool to be used as a custom build command for a Cloudflare Workers workers-rs project

13 releases

0.1.2 Dec 11, 2024
0.1.1 Nov 19, 2024
0.1.0 Apr 28, 2024
0.0.10 Jul 25, 2023
0.0.3 Nov 5, 2021

#117 in Network programming

Download history 999/week @ 2024-12-04 1088/week @ 2024-12-11 769/week @ 2024-12-18 588/week @ 2024-12-25 582/week @ 2025-01-01 1076/week @ 2025-01-08 1135/week @ 2025-01-15 737/week @ 2025-01-22 957/week @ 2025-01-29 1371/week @ 2025-02-05 1794/week @ 2025-02-12 910/week @ 2025-02-19 937/week @ 2025-02-26 1256/week @ 2025-03-05 1090/week @ 2025-03-12 990/week @ 2025-03-19

4,414 downloads per month

Apache-2.0

36KB
577 lines

worker-build

This is a tool to be used as a custom build command for a Cloudflare Workers project.

# wrangler.toml
# ...

[build]
command = "cargo install -q worker-build && worker-build --release"

[build.upload]
dir    = "build/worker"
format = "modules"
main   = "./shim.mjs"

[[build.upload.rules]]
globs = ["**/*.wasm"]
type  = "CompiledWasm"

Dependencies

~21–35MB
~563K SLoC