fix: liblzma dynamic linking issues on MacOS (#712)

This commit is contained in:
sigoden
2026-05-26 08:18:53 +08:00
committed by GitHub
parent f97a47f625
commit 3ac409ca58
2 changed files with 2 additions and 0 deletions
Generated
+1
View File
@@ -654,6 +654,7 @@ dependencies = [
"if-addrs", "if-addrs",
"indexmap", "indexmap",
"lazy_static", "lazy_static",
"liblzma",
"log", "log",
"md5", "md5",
"mime_guess", "mime_guess",
+1
View File
@@ -22,6 +22,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] } futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
async_zip = { version = "0.0.18", default-features = false, features = ["deflate", "bzip2", "xz", "chrono", "tokio"] } async_zip = { version = "0.0.18", default-features = false, features = ["deflate", "bzip2", "xz", "chrono", "tokio"] }
liblzma = { version = "0.4", features = ["static"] } # avoid dynamic linking issues on MacOS
headers = "0.4" headers = "0.4"
mime_guess = "2.0" mime_guess = "2.0"
if-addrs = "0.15" if-addrs = "0.15"