A Rust implementation of a TAR file reader and writer. This library does not
currently handle compression, but it is abstract over all I/O readers and
writers. Additionally, great lengths are taken to ensure that the entire
contents are never required to be entirely resident in memory all at once.
//! An example of listing the file names of entries in an archive.
//!//! Takes a tarball on stdin and prints out all of the entries inside.
externcrate tar;usestd::io::stdin;usetar::Archive;fnmain(){letmut arch =Archive::new(stdin());for file in arch.entries().unwrap(){let f= file.unwrap();println!("{}", f.path().unwrap().display());}}