The NAR decoder: create one with Decoder::new, and then call Decoder::entries to iterate through the files in the archive.
Decoder::new
Decoder::entries
The NAR encoder: create one with Encoder::new, then treat it as a std::io::Read instance. For instance, you can std::io::copy it to a file.
Encoder::new
std::io::Read
std::io::copy