#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

11 releases

0.1.0 Apr 28, 2024
0.0.10 Jul 25, 2023
0.0.9 Feb 21, 2023
0.0.8 Nov 14, 2022
0.0.3 Nov 5, 2021

#77 in Network programming

Download history 943/week @ 2024-04-03 1008/week @ 2024-04-10 772/week @ 2024-04-17 1340/week @ 2024-04-24 1150/week @ 2024-05-01 975/week @ 2024-05-08 1304/week @ 2024-05-15 803/week @ 2024-05-22 1819/week @ 2024-05-29 1787/week @ 2024-06-05 1539/week @ 2024-06-12 857/week @ 2024-06-19 1718/week @ 2024-06-26 971/week @ 2024-07-03 832/week @ 2024-07-10 1195/week @ 2024-07-17

4,912 downloads per month

Apache-2.0

29KB
595 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

~8–19MB
~294K SLoC