Cargo Features

[dependencies]
zopfli = { version = "0.8.1", default-features = false, features = ["std", "gzip", "zlib", "nightly"] }
default = gzip, std, zlib

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

std default

Enables lockfree-object-pool, log, and once_cell, std of optional crc32fast, std of optional simd-adler32

Affects hash::HASH_POOL, zopfli::Format, zopfli::compress, zopfli::prewarm_object_pools, util::ZOPFLI_MASTER_BLOCK_SIZE

Required by the binary

gzip default

Enables crc32fast

Required by the binary

zlib default

Enables simd-adler32

Required by the binary

nightly

Enables nightly of optional crc32fast