Richterrettich / rpm-rs

A pure rust library for building and parsing RPM's
Other
39 stars 18 forks source link

highlevel API #9

Open drahnr opened 4 years ago

drahnr commented 4 years ago
  • [ ] High Level API for RPM Reading

is part of the README, but what precisely do you have in mind for this?

Richterrettich commented 4 years ago

I want to be able to access RPM meta data without conversion.

Something like this:

https://github.com/Richterrettich/rpm-rs/blob/master/src/rpm.rs#L577

pub fn get_name(&self) -> Result<&str, RPMError>

This is partially implemented but there are still some fields missing.