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

app worker-build

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

10 releases

0.0.10 Jul 25, 2023
0.0.9 Feb 21, 2023
0.0.8 Nov 14, 2022
0.0.6 Jun 20, 2022
0.0.3 Nov 5, 2021

#71 in Network programming

Download history 1365/week @ 2023-12-12 619/week @ 2023-12-19 1145/week @ 2023-12-26 645/week @ 2024-01-02 347/week @ 2024-01-09 361/week @ 2024-01-16 942/week @ 2024-01-23 1204/week @ 2024-01-30 1021/week @ 2024-02-06 748/week @ 2024-02-13 906/week @ 2024-02-20 900/week @ 2024-02-27 1158/week @ 2024-03-05 1105/week @ 2024-03-12 986/week @ 2024-03-19 769/week @ 2024-03-26

4,184 downloads per month

Apache-2.0

16KB
326 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

~4–15MB
~205K SLoC