pkginfo

Crates.iopkginfo
lib.rspkginfo
version0.1.3
sourcesrc
created_at2020-08-22 19:45:27.079297
updated_at2020-09-09 22:28:25.982717
descriptionParse Arch linux packages information
homepage
repositoryhttps://github.com/JojiiOfficial/pkginfo-rs
max_upload_size
id279596
size67,946
Jojii (JojiiOfficial)

documentation

README

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(())
}
Commit count: 18

cargo fmt