fix: adjust feature flags, wrong zip usage (#367)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 18:47:12 -03:00
committed by GitHub
parent 7ae7167fbe
commit caf8456864
14 changed files with 167 additions and 154 deletions
+4
View File
@@ -84,6 +84,10 @@ pub enum Error {
/// Ignore error.
#[error("failed to walkdir: {0}")]
Ignore(#[from] ignore::Error),
/// Zip error.
#[cfg(windows)]
#[error(transparent)]
ZipError(#[from] zip::result::ZipError),
}
impl Serialize for Error {