Richterrettich / rpm-rs

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

Split library into sub-crates or features #49

Open dralley opened 2 years ago

dralley commented 2 years ago

Maybe this is non-trivial, but just throwing out the idea: It would be nice if it was possible to pull in the functionality for reading and verifying signatures RPMs without pulling in the code necessary to create or sign them. A significant number of use cases involve read-only or write-only interactions with RPM packages rather than doing both at once.

Unless that functionality is trivial compared to the core code which would be needed for all operations.

Richterrettich commented 2 years ago

I guess we could do this with cargo features. I have to see how much of a hassle this would be. My initial thought is, that it is rather trivial.