cloudflare / workers-rs

Write Cloudflare Workers in 100% Rust via WebAssembly
Apache License 2.0
2.53k stars 269 forks source link

Introduce Workers Assets binding #644

Open kflansburg opened 1 week ago

kflansburg commented 1 week ago

Is there an existing issue for this?

Description

Allow access to static assets from user worker.

BrandonDyer64 commented 2 days ago

For some additional context, my site uses localization files in the assets dir that need to be accessible to both the server (for building the html) and the client (for hydrating new page navs).