feat(obiread): add static bzip2 and lzma compression support
Explicitly add `bzip2-sys` and `liblzma-sys` with the `static` feature to the `obiread` crate. This enforces static linking for BZ2 and LZMA/XZ backends, eliminating runtime dynamic library dependencies and ensuring consistent binary distribution.
This commit is contained in:
Generated
+2
@@ -1617,7 +1617,9 @@ dependencies = [
|
|||||||
name = "obiread"
|
name = "obiread"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"bzip2-sys",
|
||||||
"infer",
|
"infer",
|
||||||
|
"liblzma-sys",
|
||||||
"niffler 2.7.0",
|
"niffler 2.7.0",
|
||||||
"obikrope",
|
"obikrope",
|
||||||
"regex",
|
"regex",
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ edition = "2024"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
obikrope = { path = "../obikrope" }
|
obikrope = { path = "../obikrope" }
|
||||||
niffler = { version = "2", default-features = false, features = ["gz", "bz2", "lzma", "zstd"] }
|
niffler = { version = "2", default-features = false, features = ["gz", "bz2", "lzma", "zstd"] }
|
||||||
|
bzip2-sys = { version = "0.1", features = ["static"] }
|
||||||
|
liblzma-sys = { version = "0.3", features = ["static"] }
|
||||||
ureq = "2"
|
ureq = "2"
|
||||||
tracing = "0.1.44"
|
tracing = "0.1.44"
|
||||||
tracing-subscriber = { version = "0.3.23", features = ["fmt", "env-filter"] }
|
tracing-subscriber = { version = "0.3.23", features = ["fmt", "env-filter"] }
|
||||||
|
|||||||
Reference in New Issue
Block a user