Skip to content

Commit 55bd73f

Browse files
authored
Update xz crate dependency to use liblzma in arrow-avro (#8975)
# Which issue does this PR close? - Closes #8970. # Rationale for this change Because the `xz` seems to no longer be maintained, it make sense to switch to `liblzma`. Additionally `liblzma` is more widely used and by making this switch `arrow-avro` will be more compatible with other projects using XZ compression. # What changes are included in this PR? Changed the `arrow-avro/Cargo.toml` to use `liblzma` instead of `xz` # Are these changes tested? No new tests have been added as the existing tests cover these changes. # Are there any user-facing changes? - No public API or feature-flag changes (`xz` feature and defaults remain the same). - Downstream users that depend on `liblzma` alongside `arrow-avro` should no longer hit Cargo’s duplicate native library linking error when `xz` support is enabled.
1 parent 026a260 commit 55bd73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-avro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ flate2 = { version = "1.0", default-features = false, features = [
5858
snap = { version = "1.0", default-features = false, optional = true }
5959
zstd = { version = "0.13", default-features = false, optional = true }
6060
bzip2 = { version = "0.6.0", optional = true }
61-
xz = { version = "0.1", default-features = false, optional = true }
61+
xz = { package = "liblzma", version = "0.4", default-features = false, optional = true }
6262
crc = { version = "3.0", optional = true }
6363
strum_macros = "0.27"
6464
uuid = "1.17"

0 commit comments

Comments
 (0)