21 releases (5 major breaking)

5.0.0 Jul 17, 2021
4.4.0 Jun 28, 2021
4.1.0 May 22, 2021
3.0.0 Jan 26, 2021
0.1.0 Mar 29, 2018

#2 in #arrow

Download history 1301/week @ 2021-04-09 1476/week @ 2021-04-16 2004/week @ 2021-04-23 2336/week @ 2021-04-30 3191/week @ 2021-05-07 3608/week @ 2021-05-14 6511/week @ 2021-05-21 5855/week @ 2021-05-28 7548/week @ 2021-06-04 7178/week @ 2021-06-11 8495/week @ 2021-06-18 7621/week @ 2021-06-25 7946/week @ 2021-07-02 9851/week @ 2021-07-09 11565/week @ 2021-07-16 10311/week @ 2021-07-23

25,034 downloads per month
Used in 49 crates (27 directly)

Apache-2.0

2.5MB
53K SLoC

Apache Arrow Official Native Rust Implementation

Crates.io

This crate contains the official Native Rust implementation of Apache Arrow in memory format. Please see the API documents for additional details.

Features

The arrow crate provides the following optional features:

  • csv (default) - support for reading and writing Arrow arrays to/from csv files
  • ipc (default) - support for the [arrow-flight]((https://crates.io/crates/arrow-flight) IPC and wire format
  • prettyprint - support for formatting record batches as textual columns
  • js - support for building arrow for WebAssembly / JavaScript
  • simd - (Requires Nightly Rust) alternate optimized implementations of some compute kernels using explicit SIMD processor intrinsics.

Building for WASM

In order to compile Arrow for Web Assembly (the wasm32-unknown-unknown WASM target), you will likely need to turn off this crate's default features and use the js feature.

[dependencies]
arrow = {version = "5.0" default-features = false, features = ["js"] }

Examples

The examples folder shows how to construct some different types of Arrow arrays, including dynamic arrays:

Examples can be run using the cargo run --example command. For example:

cargo run --example builders
cargo run --example dynamic_types
cargo run --example read_csv

Dependencies

~9MB
~167K SLoC