archive-reader-0.3.1 has been yanked.
archive-reader
ArchiveReader is a library that wraps partial read functions from libarchive.
It provides rustic interface over listing file names and reading given files within archives.
[]
= "0.3"
Example
use Archive;
use Result;
Features
lending_iter- EnablesLendingIteratorimplementation, which avoids heap allocations forread_file_by_blockfunctions.
Getting Started
This section talks about compiling this project
Prerequisites:
- Rust 1.66.0 (May be compatible with lower versions, but I used 1.66.0)
- Cargo
- Git
- libc
- libarchive >= 3.2.0
- Check it with command
pkg-config --libs --cflags libarchive 'libarchive >= 3.2.0'
- Check it with command
Compile
cd SOME_DIR
git clone git@github.com:YaxinCheng/archive-reader.git
cd archive-reader
cargo build --release