Cargo Features

[dependencies]
scratch-io = { version = "0.1.4", default-features = false, features = ["zip", "tar", "brotli", "gzip", "bzip2", "xz", "zstd", "wharf"] }
default = tar, wharf, zip

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

zip default

Enables zip ^7.0.0

tar default

Enables tar

brotli wharf

Enables brotli

gzip wharf

Enables flate2

bzip2

Enables bzip2

xz

Enables liblzma

zstd wharf

Enables zstd

wharf default = brotli, gzip, zstd

Wharf is the protocol used by itch.io to handle patches and signatures This is a meta-feature that enables all compression formats supported by the protocol