Cargo Features

[dependencies]
parquet = { version = "53.2.0", default-features = false, features = ["lz4", "arrow", "cli", "json", "test_common", "experimental", "async", "object_store", "zstd", "sysinfo", "crc", "snap", "brotli", "flate2"] }
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

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

zstd default = zstd-sys

Group Zstd dependencies

Enables zstd

Required by the parquet-fromcsv binary

sysinfo

Display memory in example/write_parquet.rs

Enables sysinfo

crc

Verify 32-bit CRC checksum when decoding parquet pages

Enables crc32fast

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

Required by the parquet-fromcsv binary

flate2 default

Required by the parquet-fromcsv binary

lz4_flex lz4
base64 default arrow cli? json?
clap cli?
serde cli?
serde_json json?
futures async?
tokio async?
zstd-sys wasm zstd