5 releases

new 0.0.5 Feb 11, 2025
0.0.4 Feb 9, 2025
0.0.3 Feb 6, 2025
0.0.2 Feb 1, 2025
0.0.1 Jan 30, 2025

#271 in Compression

Download history 251/week @ 2025-01-28 314/week @ 2025-02-04

565 downloads per month

MIT license

75KB
2K SLoC

Rawzip

🚧 👷 This is pre-alpha prior to v0.1.0. Features are missing. Will eat your homework 👷 🚧

A low-level Zip archive reader and writer. Pure Rust. Zero dependencies. Zero unsafe. Fast.

Use Cases

  • Bring your own compressor: Leverage the best Rust crates for your needs.
  • Concurrent streaming decompression: Parallelize decompression without synchronization.
  • Minimal allocations: rawzip deserializes into provided buffers to cut down unnecessary memory usage even as Zip files scale to hundreds of thousands of entries.
  • Zero-copy: No allocations or copying needed when the entire Zip file is buffered in memory. Ideal for environments like WebAssembly.
  • Raw access: Directly read the compressed bytes and leverage optimal in-memory libraries like libdeflater and zune-inflate.
  • Zip file creation: Nothing special, but it's good to be able to create Zip archives.

No runtime deps