Skip to content

Commit 1d2d38d

Browse files
committed
fix: disable lzma/xz features in zip to resolve crc dependency conflict
Disabled default features for zip in kreuzberg-tesseract build dependencies to avoid pulling in lzma-rust2 v0.15.3 which has incompatible crc v2.x dependency. Only enable deflate feature which is needed for zip operations.
1 parent 22ba97a commit 1d2d38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/kreuzberg-tesseract/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ image = { workspace = true, features = ["png"] }
2626
[build-dependencies]
2727
cc = { version = "^1.2.56", optional = true }
2828
cmake = { version = "0.1.57", optional = true }
29-
zip = { version = "7.4.0", optional = true }
29+
zip = { version = "7.4.0", optional = true, default-features = false, features = ["deflate"] }
3030

3131
# Use native-tls on Windows to avoid aws-lc-sys CMake build issues with MinGW
3232
[target.'cfg(target_os = "windows")'.build-dependencies]

0 commit comments

Comments
 (0)