workers-rs supported Rust crates
Learn about popular Rust crates which have been confirmed to work on Workers when using (or in some cases just
wasm-bindgen), to write Workers in WebAssembly.
Each Rust crate example includes any custom configuration that is required.
This is not an exhaustive list, many Rust crates can be compiled to the target that is supported by Workers. In some cases, this may require disabling default features or enabling a Wasm-specific feature. It is important to consider the addition of new dependencies, as this can significantly increase the of your Worker.
Many crates which have been made Wasm-friendly, will use the
time crate instead of
std::time. For the
time crate to work in Wasm, the
tokio-postgres can be compiled to Wasm. It must be configured to use a
hyper crate contains two HTTP clients, the lower-level
conn module and the higher-level
conn module can be used with Workers
Client requires timing dependencies which are
not yet Wasm friendly.