Skip to main content

rapid_archive 0.2.0 copy "rapid_archive: ^0.2.0" to clipboard
rapid_archive: ^0.2.0 copied to clipboard

Drop-in fast gzip, zlib and zip for Dart and Flutter, powered by Rust.

0.2.0 #

  • Streaming with constant memory: encodeStream, decodeStream and transformer() on GZipEncoder, GZipDecoder, ZLibEncoder and ZLibDecoder (also on web). Parallel encoders use every core.
  • New package:rapid_archive/rapid_archive_io.dart (not on web), like archive_io.dart: gzipFile, gunzipFile, extractFileToDisk and ZipFileEncoder.zipDirectory. Each runs in a background isolate.
  • zip64: archives and entries over 4 GB, and more than 65,535 entries.
  • extractFileToDisk checks every CRC and size and refuses "zip slip" entry names.

0.1.0 #

  • gzip, zlib and raw deflate with libdeflate; parallel gzip/zlib.
  • Zip create and extract, entries compressed and extracted in parallel.
  • Web support through WebAssembly.
  • Prebuilt native libraries for Android, iOS, macOS, Linux and Windows, downloaded and checksum-verified by the build hook.
1
likes
150
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Drop-in fast gzip, zlib and zip for Dart and Flutter, powered by Rust.

Homepage
Repository (GitHub)
View/report issues

Topics

#compression #zip #gzip #ffi #rust

License

MIT (license)

Dependencies

archive, code_assets, crypto, ffi, hooks

More

Packages that depend on rapid_archive