Cargo Features

[dependencies]
nod = { version = "1.4.4", default-features = false, features = ["asm", "compress-bzip2", "compress-lzma", "compress-zlib", "compress-zstd"] }
default = compress-bzip2, compress-lzma, compress-zlib, compress-zstd

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

asm

Enables asm of sha1

compress-bzip2 default = bzip2
compress-lzma default = liblzma

Affects compress::lzma_lclppb_decode, compress::lzma_props_decode, compress::lzma2_props_decode, compress::new_lzma_decoder, compress::new_lzma2_decoder

compress-zlib default = adler, miniz_oxide
compress-zstd default = 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.

adler compress-zlib
bzip2 compress-bzip2
liblzma compress-lzma
miniz_oxide compress-zlib
zstd compress-zstd