Skip to content

Commit

Permalink
feature gate ipc reader/writer (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored May 24, 2021
1 parent b2de544 commit 4c17ac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,17 @@ regex = "1.3"
lazy_static = "1.4"
packed_simd = { version = "0.3.4", optional = true, package = "packed_simd_2" }
chrono = "0.4"
flatbuffers = "=0.8.4"
flatbuffers = { version = "=0.8.4", optional = true }
hex = "0.4"
prettytable-rs = { version = "0.8.0", optional = true }
lexical-core = "^0.7"
multiversion = "0.6.1"

[features]
default = ["csv"]
default = ["csv", "ipc"]
avx512 = []
csv = ["csv_crate"]
ipc = ["flatbuffers"]
simd = ["packed_simd"]
prettyprint = ["prettytable-rs"]
# this is only intended to be used in single-threaded programs: it verifies that
Expand Down
1 change: 1 addition & 0 deletions arrow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ pub mod csv;
pub mod datatypes;
pub mod error;
pub mod ffi;
#[cfg(feature = "ipc")]
pub mod ipc;
pub mod json;
pub mod record_batch;
Expand Down

0 comments on commit 4c17ac8

Please sign in to comment.