| Crates.io | pkginfo |
| lib.rs | pkginfo |
| version | 0.1.3 |
| created_at | 2020-08-22 19:45:27.079297+00 |
| updated_at | 2020-09-09 22:28:25.982717+00 |
| description | Parse Arch linux packages information |
| homepage | |
| repository | https://github.com/JojiiOfficial/pkginfo-rs |
| max_upload_size | |
| id | 279596 |
| size | 67,946 |
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(())
}