Skip to content

Commit

Permalink
Use more up-to-date zip_next crate
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Apr 9, 2024
1 parent 6ecef4f commit 891069c
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 52 deletions.
134 changes: 85 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tar = "0.4"
tempfile = "3.3"
thiserror = "1.0"
url = { version = "2.5", features = ["serde"] }
zip = "0.6"
zip_next = "1.0"

# Async / runtime dependencies

Expand Down
2 changes: 1 addition & 1 deletion lib/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde_json::Error as JsonError;
use thiserror::Error;
use tokio::task::JoinError;
use toml_edit::TomlError;
use zip::result::ZipError;
use zip_next::result::ZipError;

use crate::sources::{github::GithubError, ExtractError};

Expand Down
2 changes: 1 addition & 1 deletion lib/sources/extraction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{
use tar::Archive as TarArchive;
use thiserror::Error;
use tokio::{task::spawn_blocking, time::Instant};
use zip::ZipArchive;
use zip_next::ZipArchive;

use crate::{descriptor::OS, result::RokitResult, sources::ArtifactFormat};

Expand Down

0 comments on commit 891069c

Please sign in to comment.