This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 7b38cb8ea Disable const-random ahash feature on non-WASM (#3271)
(#3277)
7b38cb8ea is described below
commit 7b38cb8eae4f1ae6fb451bf288b1b4b6f0642858
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Mon Dec 5 22:49:03 2022 +0000
Disable const-random ahash feature on non-WASM (#3271) (#3277)
---
parquet/Cargo.toml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index 1ea28b7de..f55f36c8a 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -28,6 +28,12 @@ readme = "README.md"
edition = "2021"
rust-version = "1.62"
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+ahash = { version = "0.8", default-features = false, features =
["compile-time-rng"] }
+
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
+ahash = { version = "0.8", default-features = false, features =
["runtime-rng"] }
+
[dependencies]
arrow-array = { version = "28.0.0", path = "../arrow-array", default-features
= false, optional = true }
arrow-buffer = { version = "28.0.0", path = "../arrow-buffer",
default-features = false, optional = true }
@@ -38,7 +44,6 @@ arrow-schema = { version = "28.0.0", path =
"../arrow-schema", default-features
arrow-select = { version = "28.0.0", path = "../arrow-select",
default-features = false, optional = true }
arrow-ipc = { version = "28.0.0", path = "../arrow-ipc", default-features =
false, optional = true }
-ahash = { version = "0.8", default-features = false, features =
["compile-time-rng"] }
bytes = { version = "1.1", default-features = false, features = ["std"] }
thrift = { version = "0.17", default-features = false }
snap = { version = "1.0", default-features = false, optional = true }