Crates.io | wasm_gz |
lib.rs | wasm_gz |
version | 0.7.0 |
created_at | 2025-07-06 14:09:19.86767+00 |
updated_at | 2025-07-06 14:09:19.86767+00 |
description | esm modules for gzip compression and/or decompression, with sync and async (worker) versions |
homepage | |
repository | https://github.com/packurl/wasm_gz |
max_upload_size | |
id | 1740159 |
size | 694,458 |
WASM libs for zopfli gzip compression and (g)unzip decompression.
This is a simple wrapper on top of the zopfli rust crate for the compression and the miniz_oxide rust crate for the decompression.
The handling of the gzip header and footer is done in this crate to save a few bytes on the wasm files.
Compilation:
wasm-pack build --target web
Dependencies: