zip-rs / zip-old

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

use displaydoc and thiserror to remove some boilerplate #397

Closed cosmicexplorer closed 5 months ago

cosmicexplorer commented 1 year ago

The displaydoc and thiserror crates automatically derive much of what is written in result.rs. This change removes some boilerplate.

This is not a breaking change, because it should generate the same code as before.

Pr0methean commented 5 months ago

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