diff --git a/Cargo.lock b/Cargo.lock index 28b36002..f741bbdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1705,6 +1705,7 @@ dependencies = [ "insta-cmd", "itertools", "libc", + "liblzma", "miette", "owo-colors", "pprof", diff --git a/Cargo.toml b/Cargo.toml index df10e33d..adb86315 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,9 @@ http = { version = "1.1.0" } indicatif = { version = "0.18.0" } indoc = { version = "2.0.5" } itertools = { version = "0.14.0" } +# Enable static linking for liblzma +# This is required for the `xz` feature in `async-compression` +liblzma = { version = "*", features = ["static"]} miette = { version = "7.5.0", features = ["fancy-no-backtrace"] } owo-colors = { version = "4.1.0" } rand = { version = "0.9.0" } @@ -85,6 +88,9 @@ insta-cmd = { version = "0.6.0" } predicates = { version = "3.1.2" } regex = { version = "1.11.0" } +[package.metadata.cargo-shear] +ignored = ["liblzma"] + [build-dependencies] fs-err = { version = "3.1.0" }