Cargo Features

[dependencies]
liblrge = { version = "0.1.0", default-features = false, features = ["compression", "xz", "gzip"] }
compression default = bzip2, gzip, xz, zstd

Enable compression support

default = compression

Enable compression by default

xz compression = liblzma

Alias "xz" to "liblzma" dependency

gzip compression = flate2

Alias "gzip" to "flate2" dependency

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.

flate2 gzip?

Enables flate2

for compression support

zstd compression
bzip2 compression
liblzma xz?