Cargo Features

[dependencies]
audec = { version = "0.1.0", default-features = false, features = ["bzip2", "lz4", "lz4_flex", "flate2", "zstd"] }
default = flate2, zstd

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

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

lz4 implicit feature

Enables lz4

lz4:

Rust LZ4 bindings library

lz4_flex implicit feature

Enables lz4_flex

lz4_flex:

Fastest LZ4 implementation in Rust, no unsafe by default

flate2 default
zstd default

Enables zstd ^0.12