| Crates.io | alpm-rs |
| lib.rs | alpm-rs |
| version | 0.1.24 |
| created_at | 2019-02-20 12:47:58.766788+00 |
| updated_at | 2019-02-27 22:49:06.925953+00 |
| description | aplm bindings and wrapper for rust |
| homepage | |
| repository | https://github.com/BahNahNah/rust-arch/tree/master/alpm-rs |
| max_upload_size | |
| id | 115955 |
| size | 49,733 |
alpm bindings for rust.
Usage:
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());
}