Skip to content

Commit ae8c1ad

Browse files
committed
feat: Enable zstd
In Iceberg we allow Avro metadata to be compressed using zstandard. To also support this in Iceberg Rust we need to enable the zstandard feature: https://github.com/apache/avro-rs/blob/main/avro/README.md#installing-the-library
1 parent 549c383 commit ae8c1ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rust-version = "1.87"
4040

4141
[workspace.dependencies]
4242
anyhow = "1.0.72"
43-
apache-avro = "0.20"
43+
apache-avro = { version = "0.20", features = ["zstandard"] }
4444
array-init = "2"
4545
arrow-arith = { version = "55.1" }
4646
arrow-array = { version = "55.1" }

0 commit comments

Comments
 (0)