#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

#112 in Network programming

Download history 916/week @ 2024-10-25 958/week @ 2024-11-01 667/week @ 2024-11-08 1171/week @ 2024-11-15 1040/week @ 2024-11-22 925/week @ 2024-11-29 1212/week @ 2024-12-06 833/week @ 2024-12-13 593/week @ 2024-12-20 656/week @ 2024-12-27 656/week @ 2025-01-03 1283/week @ 2025-01-10 928/week @ 2025-01-17 709/week @ 2025-01-24 1273/week @ 2025-01-31 1920/week @ 2025-02-07

5,116 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