deb-rust

a pure Rust library for building and reading Deb packages

Example

```rs use debrust::*; use debrust::binary::*;

fn main() -> std::io::Result<()> { let mut package = DebPackage::new("example") .setversion("0.1.0") .setdescription("deb-rust example") .withdepend("bash") .withfile(DebFile::from_path( "target/release/example", "/usr/bin/example", ).unwrap()); package.build()?.write(File::create("example.deb")?)?; Ok(()) } ```