#cloudflare-workers #worker #build #serverless #command

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

#101 in Network programming

Download history 872/week @ 2024-10-08 978/week @ 2024-10-15 1008/week @ 2024-10-22 940/week @ 2024-10-29 756/week @ 2024-11-05 803/week @ 2024-11-12 1298/week @ 2024-11-19 953/week @ 2024-11-26 966/week @ 2024-12-03 1151/week @ 2024-12-10 780/week @ 2024-12-17 554/week @ 2024-12-24 608/week @ 2024-12-31 1004/week @ 2025-01-07 1115/week @ 2025-01-14 818/week @ 2025-01-21

3,661 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–34MB
~544K SLoC