Rust implementation for reading Arch linux packages informations
Add following to your Cargo.toml
toml
pkginfo = "0.1.2"
```rust 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(())
} ```