pkginfo-rs
Rust implementation for reading Arch linux packages informations
Usage
Add following to your Cargo.toml
= "0.1.2"
Example:
use pkginfo;
Rust implementation for reading Arch linux packages informations
Add following to your Cargo.toml
pkginfo = "0.1.2"
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(())
}