Cargo Features
[dependencies]
arrow = { version = "53.3.0", default-features = false, features = ["ipc_compression", "csv", "ipc", "json", "prettyprint", "test_utils", "pyarrow", "force_validate", "ffi", "chrono-tz"] }
- default = csv, ipc, json
-
These default features are set whenever
arrow
is added without
somewhere in the dependency tree.default-features = false - ipc_compression = ipc
- csv default = arrow-csv
- ipc default ipc_compression? = arrow-ipc
- json default = arrow-json
- prettyprint
-
Enables prettyprint of arrow-cast
- test_utils = rand
-
The test utils feature enables code used in benchmarks and tests but not the core arrow code itself. Be aware that
rand
must be kept as an optional dependency for supporting compile to wasm32-unknown-unknown target without assuming an environment containing JavaScript.Enables chrono
Affects
util::bench_util
,util::data_gen
… - pyarrow = ffi, pyo3
-
Affects
arrow::pyarrow
… - force_validate
-
force_validate runs full data validation for all arrays that are created this is not enabled by default as it is too computationally expensive but is run as part of our CI checks
Enables force_validate of arrow-array and arrow-data
- ffi pyarrow?
-
Enable ffi support
Enables ffi of arrow-array, arrow-data, and arrow-schema
- chrono-tz
-
Enables chrono-tz of arrow-array
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.