cloudflare / workers-rs

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

Introduce Workers Assets binding #644

Open kflansburg opened 1 month ago

kflansburg commented 1 month ago

Is there an existing issue for this?

Description

Allow access to static assets from user worker.

BrandonDyer64 commented 1 month 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).