Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jul 6, 2021
1 parent b187f9a commit a02580a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions arrow-pyarrow-integration-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ name = "arrow_pyarrow_integration_testing"
crate-type = ["cdylib"]

[dependencies]
# ensure we get the std version of rand so arrow builds without default features
rand = { version = "0.8" }
arrow = { path = "../arrow", version = "5.0.0-SNAPSHOT" }
pyo3 = { version = "0.12.1", features = ["extension-module"] }

Expand Down
3 changes: 1 addition & 2 deletions arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ multiversion = "0.6.1"
bitflags = "1.2.1"

[features]
default = ["csv", "ipc", "randstd"]
default = ["csv", "ipc"]
avx512 = []
csv = ["csv_crate"]
ipc = ["flatbuffers"]
simd = ["packed_simd"]
prettyprint = ["prettytable-rs"]
randstd = ["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
Expand Down
3 changes: 1 addition & 2 deletions arrow/src/util/bit_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ where
simd_result.write_to_slice_unaligned_unchecked(result);
}

// seednable_rng is not available when not build with randstd support
#[cfg(all(test, randstd))]
#[cfg(test)]
mod tests {
use std::collections::HashSet;

Expand Down
3 changes: 0 additions & 3 deletions arrow/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,16 @@
// specific language governing permissions and limitations
// under the License.

#[cfg(feature = "randstd")]
pub mod bench_util;
pub mod bit_chunk_iterator;
pub mod bit_util;
#[cfg(feature = "randstd")]
pub mod data_gen;
pub mod display;
pub mod integration_util;
#[cfg(feature = "prettyprint")]
pub mod pretty;
pub(crate) mod serialization;
pub mod string_writer;
#[cfg(feature = "randstd")]
pub mod test_util;

mod trusted_len;
Expand Down

0 comments on commit a02580a

Please sign in to comment.