Skip to content

Commit

Permalink
Pin zstd-sys to v2.0.9 in parquet (#5567)
Browse files Browse the repository at this point in the history
* Test pinning zstd-sys

* Test

* Cleanup features

* Update with upstream issue

* Fix
  • Loading branch information
Jefffrey authored Mar 29, 2024
1 parent cdb7b6f commit 3c50d47
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions parquet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ brotli = { version = "3.3", default-features = false, features = ["std"], option
flate2 = { version = "1.0", default-features = false, features = ["rust_backend"], optional = true }
lz4_flex = { version = "0.11", default-features = false, features = ["std", "frame"], optional = true }
zstd = { version = "0.13.0", optional = true, default-features = false }
# TODO: temporary to fix parquet wasm build
# upstream issue: https://github.com/gyscos/zstd-rs/issues/269
zstd-sys = { version = "=2.0.9", optional = true, default-features = false }
chrono = { workspace = true }
num = { version = "0.4", default-features = false }
num-bigint = { version = "0.4", default-features = false }
Expand All @@ -77,6 +80,9 @@ brotli = { version = "3.3", default-features = false, features = ["std"] }
flate2 = { version = "1.0", default-features = false, features = ["rust_backend"] }
lz4_flex = { version = "0.11", default-features = false, features = ["std", "frame"] }
zstd = { version = "0.13", default-features = false }
# TODO: temporary to fix parquet wasm build
# upstream issue: https://github.com/gyscos/zstd-rs/issues/269
zstd-sys = { version = "=2.0.9", default-features = false }
serde_json = { version = "1.0", features = ["std"], default-features = false }
arrow = { workspace = true, features = ["ipc", "test_utils", "prettyprint", "json"] }
tokio = { version = "1.0", default-features = false, features = ["macros", "rt", "io-util", "fs"] }
Expand Down Expand Up @@ -104,6 +110,8 @@ experimental = []
async = ["futures", "tokio"]
# Enable object_store integration
object_store = ["dep:object_store", "async"]
# Group Zstd dependencies
zstd = ["dep:zstd", "zstd-sys"]

[[example]]
name = "read_parquet"
Expand Down

0 comments on commit 3c50d47

Please sign in to comment.