1
0
mirror of https://github.com/j178/prek.git synced 2026-04-25 02:11:36 +02:00

Static link liblzma (#445)

* Static link `liblzma`

* Fix
This commit is contained in:
Jo
2025-08-13 13:52:42 +08:00
committed by GitHub
parent f319c3a8a8
commit 601ef914b8
2 changed files with 7 additions and 0 deletions
Generated
+1
View File
@@ -1705,6 +1705,7 @@ dependencies = [
"insta-cmd",
"itertools",
"libc",
"liblzma",
"miette",
"owo-colors",
"pprof",
+6
View File
@@ -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" }