Rust implementation of rpmdb that ported from go-rpmdb, currently only supports reading package list
Available rpmdb format:
- bdb
- ndb
- sqlite3
let packages = rpmdb::read_packages("testdata/Packages".parse()?)?;
for package in packages {
println!("{} {:?}", package.name, package.provides);
}