https://github.com/yybit/rpmdb-rs
Rust implementation of rpmdb
https://github.com/yybit/rpmdb-rs
rpm
Last synced: about 1 year ago
JSON representation
Rust implementation of rpmdb
- Host: GitHub
- URL: https://github.com/yybit/rpmdb-rs
- Owner: yybit
- License: mit
- Created: 2023-12-15T13:39:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:03:28.000Z (over 2 years ago)
- Last Synced: 2025-03-23T16:11:13.933Z (about 1 year ago)
- Topics: rpm
- Language: Rust
- Homepage:
- Size: 8.91 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://crates.io/crates/rpmdb)
[](https://docs.rs/rpmdb)
## rpmdb-rs
Rust implementation of rpmdb that ported from [go-rpmdb](https://github.com/knqyf263/go-rpmdb), currently only supports reading package list
Available rpmdb format:
- bdb
- ndb
- sqlite3
#### Example
```
let packages = rpmdb::read_packages("testdata/Packages".parse()?)?;
for package in packages {
println!("{} {:?}", package.name, package.provides);
}
```