#cloudflare-workers #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

#291 in Network programming

Download history 546/week @ 2024-12-21 674/week @ 2024-12-28 726/week @ 2025-01-04 1329/week @ 2025-01-11 826/week @ 2025-01-18 756/week @ 2025-01-25 1219/week @ 2025-02-01 2042/week @ 2025-02-08 913/week @ 2025-02-15 927/week @ 2025-02-22 1030/week @ 2025-03-01 1167/week @ 2025-03-08 1042/week @ 2025-03-15 894/week @ 2025-03-22 995/week @ 2025-03-29 2259/week @ 2025-04-05

5,298 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
~558K SLoC