Richterrettich / rpm-rs

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

Fix with_file_async() for Windows #48

Closed AlbertoBrusa closed 2 years ago

AlbertoBrusa commented 2 years ago

Fixed with_file_async() not working on Windows due to file.metadata().permissions().mode by applying the same approach used in with_file()

Before change using the tokio-async feature caused a build error due to file.metadata().permissions().mode being Unix specific.

Richterrettich commented 2 years ago

Thank you for this fix!