zip-rs / zip-old

Zip implementation in Rust
MIT License
731 stars 204 forks source link

use num_enum to clean up the System type #395

Closed cosmicexplorer closed 5 months ago

cosmicexplorer commented 1 year ago

The num_enum crate will automatically derive From implementations for enums with repr(u8) or similar. This change removes a small amount of boilerplate.

This is not a breaking change, because System is not exported by this crate.

Pr0methean commented 5 months ago

Replaced with https://github.com/zip-rs/zip2/pull/63.