Cargo Features

[dependencies]
serde_avro_fast = { version = "2.0.0", default-features = false, features = ["deflate", "snappy", "xz", "zstandard", "bzip2"] }
default = deflate

The deflate feature is set by default whenever serde_avro_fast is added without default-features = false somewhere in the dependency tree.

deflate default = flate2
snappy = crc32fast, snap
xz = xz2
zstandard = zstd

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.

bzip2 implicit feature

Enables bzip2

bzip2:

Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams

crc32fast snappy?
flate2 deflate
snap snappy?
xz2 xz?
zstd zstandard?