Popularity
0.3
Stable
Activity
6.1
Declining
0
1
0

Programming language: Rust
Tags: Parser     Parsing     Arch Linux     PKGBUILD    

pkginfo alternatives and similar packages

Based on the "Parser" category

Do you think we are missing an alternative of pkginfo or a related project?

Add another 'Parser' Package

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