diff --git a/arrow-pyarrow-integration-testing/Cargo.toml b/arrow-pyarrow-integration-testing/Cargo.toml index 34d243591724..d5b44023cf77 100644 --- a/arrow-pyarrow-integration-testing/Cargo.toml +++ b/arrow-pyarrow-integration-testing/Cargo.toml @@ -31,7 +31,7 @@ name = "arrow_pyarrow_integration_testing" crate-type = ["cdylib"] [dependencies] -arrow = { path = "../arrow", version = "5.0.0-SNAPSHOT" } +arrow = { path = "../arrow", version = "5.0.0-SNAPSHOT", features=["std"] } pyo3 = { version = "0.12.1", features = ["extension-module"] } [package.metadata.maturin] diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index f7a1b82b05aa..2ed57d2a965a 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -63,6 +63,8 @@ csv = ["csv_crate"] ipc = ["flatbuffers"] simd = ["packed_simd"] prettyprint = ["prettytable-rs"] +# enable features that rely on std +std = ["rand/std", "rand/std_rng"] # this is only intended to be used in single-threaded programs: it verifies that # all allocated memory is being released (no memory leaks). # See README for details