Cargo Features

[dependencies]
parquet2 = { version = "0.17.2", default-features = false, features = ["full", "async", "snappy", "gzip", "gzip_zlib_ng", "bloom_filter", "serde_types", "lz4_flex"] }
default = bloom_filter, brotli, gzip, lz4, snappy, zstd

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

full = async, bloom_filter, brotli, gzip, lz4, snappy, zstd
async full? = async-stream, futures

Enables async of parquet-format-safe

Affects column_chunk::write_column_chunk_async, write::write_column_index_async, write::write_offset_index_async, page::write_page_async, row_group::write_row_group_async

snappy default full? = snap
gzip default full?

Enables rust_backend of flate2

gzip_zlib_ng

Enables zlib-ng of flate2

bloom_filter default full? = xxhash-rust

Affects parquet2::bloom_filter

serde_types = serde

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.

async-stream async?
futures async?
snap snappy
brotli default full?

Enables brotli ^3.3

flate2 gzip gzip_zlib_ng?
lz4 default full?
zstd default full?

Enables zstd ^0.12

lz4_flex implicit feature

Enables lz4_flex ^0.9

lz4_flex:

Fastest LZ4 implementation in Rust, no unsafe by default

serde serde_types?
xxhash-rust bloom_filter