Skip to content

Commit

Permalink
Switch from xz to xz2 crate
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Oct 12, 2024
1 parent cdf1f40 commit ad6a77b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
11 changes: 1 addition & 10 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 @@ -32,7 +32,7 @@ test-case = "3.3.1"
thiserror = "1.0.64"
tokio = { version = "1.40.0", default-features = false, features = ["macros", "rt"] }
url = { version = "2.5.2", features = ["serde"] }
xz = "0.1.0"
xz2 = "0.1.0"
# This disables all the features that require C compilation, which greatly
# simplifies cross-platform builds.
zip = { version = "2.2.0", default-features = false, features = [
Expand Down
2 changes: 1 addition & 1 deletion ubi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ strum.workspace = true
tempfile.workspace = true
thiserror.workspace = true
url.workspace = true
xz.workspace = true
xz2.workspace = true
zip.workspace = true

[features]
Expand Down
2 changes: 1 addition & 1 deletion ubi/src/installer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{
io::{Read, Write},
path::{Path, PathBuf},
};
use xz::read::XzDecoder;
use xz2::read::XzDecoder;
use zip::ZipArchive;

#[cfg(target_family = "unix")]
Expand Down

0 comments on commit ad6a77b

Please sign in to comment.