A lot of the logic in read.rs goes through functions that return a nested Result<Result<...>, InvalidPassword>, which seems unnecessary when we don't even have password support at all in some configurations. This change makes InvalidPassword into a case of ZipError and avoids needing to separately unwrap an InvalidPassword error.
This is a breaking change, because it modifies zip::result::ZipError and removes zip::result::InvalidPassword.
A lot of the logic in
read.rs
goes through functions that return a nestedResult<Result<...>, InvalidPassword>
, which seems unnecessary when we don't even have password support at all in some configurations. This change makesInvalidPassword
into a case ofZipError
and avoids needing to separately unwrap anInvalidPassword
error.This is a breaking change, because it modifies
zip::result::ZipError
and removeszip::result::InvalidPassword
.