This library allows inspecting content of Cargo/crates.io packages without writing any temporary files to disk, and mostly without holding the files in memory either.
It's a streaming parser for gzipped tarballs (the .crate files). Additionally, it can perform correctness checks
to detect malformed packages (such as duplicate tar paths, paths ambiguous on case-insensitive file systems, symlinks pointing outside of the crate).
use *;
// you'll need other libraries to download the .crate file and verify its cecksum
let mut archive = new?;
let mut tarball = new?;
for res in tarball.entries
let parsed = tarball.finalize?;
println!;
println!;
println!;
println!;
# Ok::