Cargo Features

parquet = { version = "51.0.0", default-features = false, features = ["lz4", "arrow", "cli", "json", "test_common", "experimental", "async", "object_store", "snap", "brotli", "flate2", "zstd"] }
default = arrow, base64, brotli, flate2, lz4, snap, zstd

These default features are set whenever parquet is added without default-features = false somewhere in the dependency tree.

lz4 default = lz4_flex

Enable lz4

Required by the parquet-fromcsv binary

arrow default test_common? = arrow-array, arrow-buffer, arrow-cast, arrow-data, arrow-ipc, arrow-schema, arrow-select, base64

Enable arrow reader/writer APIs

Affects parquet::arrow

Required by parquet-fromcsv and parquet-rewrite binaries

cli = arrow-csv, base64, clap, json, serde

Enable CLI tools

Required by parquet-concat, parquet-fromcsv, parquet-index, parquet-layout, parquet-read, parquet-rewrite, parquet-rowcount, parquet-schema and parquet-show-bloom-filter binaries

json cli? = base64, serde_json

Enable JSON APIs

test_common dev

Enable internal testing APIs

Enables arrow


Experimental, unstable functionality primarily used for testing

async object_store? = futures, tokio

Enable async APIs

Affects arrow::async_reader, arrow::async_writer

object_store = async

Enable object_store integration

Enables object_store

Intentionally not a path dependency as object_store is released separately

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.

arrow-array arrow
arrow-buffer arrow
arrow-cast arrow
arrow-csv cli?
arrow-data arrow
arrow-schema arrow
arrow-select arrow
arrow-ipc arrow
snap default

Required by the parquet-fromcsv binary

brotli default

Enables brotli ^3.3

Required by the parquet-fromcsv binary

flate2 default

Required by the parquet-fromcsv binary

lz4_flex lz4
zstd default

Required by the parquet-fromcsv binary

base64 default arrow cli? json?
clap cli?
serde cli?
serde_json json?
futures async?
tokio async?