| Crates.io | archive |
| lib.rs | archive |
| version | 0.3.0 |
| created_at | 2025-10-16 18:48:38.1242+00 |
| updated_at | 2025-12-28 14:16:06.892901+00 |
| description | A unified interface for extracting common archive formats in-memory |
| homepage | |
| repository | https://github.com/secana/archive |
| max_upload_size | |
| id | 1886542 |
| size | 120,609 |
A unified, pure-Rust interface for extracting common archive formats in-memory.
This crate is currently in development and should not be used in production.
The API may change in future releases.
| Format | Extensions | Description |
|---|---|---|
| ZIP | .zip |
ZIP archives with various compression levels |
| TAR | .tar |
Uncompressed TAR archives |
| AR | .ar |
Uncompressed AR archives |
| DEB | .deb |
Debian packages (which are also AR archives) |
| TAR.GZ | .tar.gz, .tgz |
TAR with gzip compression |
| TAR.BZ2 | .tar.bz2, .tbz2 |
TAR with bzip2 compression |
| TAR.XZ | .tar.xz, .txz |
TAR with xz/LZMA compression |
| TAR.ZST | .tar.zst |
TAR with Zstandard compression |
| TAR.LZ4 | .tar.lz4 |
TAR with LZ4 compression |
| 7-Zip | .7z |
7-Zip archives |
| Single-file | .gz, .bz2, .xz, .lz4, .zst |
Individual compressed files |
To generate the test archives used in this repository, you can use the provided Nix shell. First, ensure you have Nix installed on your system. Then, run the following commands:
nix run .#generateTestArchives
cargo test