This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch kevinjqliu-drop-brotli-zstd-legacy
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git

commit 1edc623ed3e6c5b9de08b716cbe021d73576c698
Author: Kevin Liu <[email protected]>
AuthorDate: Tue Oct 20 12:55:31 2026 -0700

    build: drop unused brotli and zstd legacy features
    
    Co-authored-by: Copilot App <[email protected]>
---
 Cargo.lock | 37 -------------------------------------
 Cargo.toml |  4 ++--
 2 files changed, 2 insertions(+), 39 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 41ee99bb6..7efb95afa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -73,21 +73,6 @@ version = "0.1.3"
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd"
 
-[[package]]
-name = "alloc-no-stdlib"
-version = "2.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
-
-[[package]]
-name = "alloc-stdlib"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
-dependencies = [
- "alloc-no-stdlib",
-]
-
 [[package]]
 name = "allocator-api2"
 version = "0.2.21"
@@ -1172,27 +1157,6 @@ dependencies = [
  "syn",
 ]
 
-[[package]]
-name = "brotli"
-version = "8.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3"
-dependencies = [
- "alloc-no-stdlib",
- "alloc-stdlib",
- "brotli-decompressor",
-]
-
-[[package]]
-name = "brotli-decompressor"
-version = "5.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
-dependencies = [
- "alloc-no-stdlib",
- "alloc-stdlib",
-]
-
 [[package]]
 name = "bs58"
 version = "0.5.1"
@@ -4271,7 +4235,6 @@ dependencies = [
  "arrow-schema",
  "arrow-select",
  "base64 0.23.0",
- "brotli",
  "bytes",
  "chrono",
  "flate2",
diff --git a/Cargo.toml b/Cargo.toml
index d07116f12..4213da41b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -113,7 +113,7 @@ murmur3 = "0.5.2"
 once_cell = "1.20"
 opendal = "0.58"
 ordered-float = "4"
-parquet = "59.2"
+parquet = { version = "59.2", default-features = false, features = ["arrow", 
"base64", "flate2-zlib-rs", "lz4", "simdutf8", "snap", "zstd"] }
 pilota = "0.11.10"
 pretty_assertions = "1.4"
 proc-macro2 = "1"
@@ -149,4 +149,4 @@ uuid = { version = "1.18", features = ["v7"] }
 volo = "0.10.6"
 volo-thrift = "0.10.8"
 zeroize = "1.7"
-zstd = "0.13.3"
+zstd = { version = "0.13.3", default-features = false }

Reply via email to