pkginfo 0.1.3

Parse Arch linux packages information
Documentation

Build Status

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(())
}