4 releases
0.1.3 | Sep 9, 2020 |
---|---|
0.1.2 | Aug 22, 2020 |
0.1.1 | Aug 22, 2020 |
0.1.0 | Aug 22, 2020 |
#96 in #arch-linux
26 downloads per month
42KB
172 lines
pkginfo-rs
Rust implementation for reading Arch linux packages informations
Usage
Add following to your Cargo.toml
pkginfo = "0.1.2"
Example:
use pkginfo;
fn main() -> Result<(), pkginfo::errors::Error> {
let pinfo = pkginfo::new("your-package.pkg.tar.xz")?; // pkg.tar.zst is supported too!
println!("{:#?}", pinfo);
Ok(())
}
Dependencies
~7–15MB
~214K SLoC