DebPkg
A Rust library to parse binary debian packages.
This library provides utilties to parse binary debian packages abstracted over a reader. This API provides a streaming interface to avoid loading the entire debian package into RAM.
This library only parses binary debian packages. It does not attempt to write binary debian packages.
Supported Debian Package Versions
This package only supports version 2.0 of debian packages. Older versions are not currently supported.
Examples
Parsing a debian package
let file = open.unwrap;
let mut pkg = parse.unwrap;
println!;
println!;
let arch = pkg.get.unwrap;
println!;
let dir = new.unwrap;
pkg.unpack.unwrap;