Cargo Features

[dependencies]
smush = { version = "0.1.5", default-features = false, features = ["all", "base58_support", "bincode_support", "brotli_support", "deflate_support", "gzip_support", "lz4_support", "xz_support", "zlib_support", "zstd_support"] }
default = all

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

all default = base58_support, bincode_support, brotli_support, deflate_support, gzip_support, lz4_support, xz_support, zlib_support, zstd_support
base58_support all = bs58

Affects codecs::base58

bincode_support all = bincode

Affects codecs::bincode

brotli_support all = brotli

Affects codecs::brotli

deflate_support all = flate2

Affects codecs::deflate

gzip_support all = flate2

Affects codecs::gzip

lz4_support all = lz4

Affects codecs::lz4

xz_support all = xz2

Affects codecs::xz

zlib_support all = flate2

Affects codecs::zlib

zstd_support all = zstd

Affects codecs::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.

bincode bincode_support?
brotli brotli_support?

Enables brotli ^3.3.0

bs58 base58_support?

Enables bs58 ^0.3.0

flate2 deflate_support? gzip_support? zlib_support?
xz2 xz_support?
lz4 lz4_support?
zstd zstd_support?

Enables zstd ^0.5.1