alpm-rs

Crates.ioalpm-rs
lib.rsalpm-rs
version0.1.24
sourcesrc
created_at2019-02-20 12:47:58.766788
updated_at2019-02-27 22:49:06.925953
descriptionaplm bindings and wrapper for rust
homepage
repositoryhttps://github.com/BahNahNah/rust-arch/tree/master/alpm-rs
max_upload_size
id115955
size49,733
Sam (pigeonhands)

documentation

https://docs.rs/alpm-rs

README

alpm-rs

alpm bindings for rust.

alpm-rs

Usage:

kia is made with this crate

let handle = alpm_rs::initialize("/", "/var/lib/pacman").unwrap();
let db = handle.local_db();
let packages = db.pkgcache();

for p in packages {
    println!("{} {}", p.name(), p.version());
}

alpm.h reference

Commit count: 0

cargo fmt