compression_rs

Creator: coderz1093

Last updated:

0 purchases

compression_rs Image
compression_rs Images

Languages

Categories

Add to Cart

Description:

compression rs

compression_rs #
Supports brotli, zstd, lz4, gzip, zlib, deflate compression and decompression, and tar and zip archives using Rust libraries through WASM and WIT.
Uses https://github.com/juancastillo0/wasm_run for executing WASM.
Example #
You can find a deployed example in https://juancastillo0.github.io/wasm_run/ and the main file implementation in the Github repository.
Build Wasm Component from Rust #
cd compression_rs_wasm
cargo +stable wasi build --release
cp target/wasm32-wasi/release/compression_rs_wasm.wasm ../lib/
copied to clipboard
Generate Wit Dart bindings #
dart run wasm_wit_component:generate compression_rs_wasm/wit/compression-rs.wit lib/src/compression_rs_wit.gen.dart
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.