Cargo Features
[dependencies]
chd = { version = "0.3.2", default-features = false, features = ["std", "cd_full", "verify_block_crc", "huffman_api", "codec_api", "unstable_lending_iterators", "want_subcode", "want_raw_data_sector", "max_perf", "fast_zlib", "fast_lzma", "fast_zstd"] }
- default = cd_full, std
-
These default features are set whenever
chd
is added without
somewhere in the dependency tree.default-features = false - std default fast_lzma? fast_zlib? fast_zstd?
- cd_full default = want_raw_data_sector, want_subcode
- verify_block_crc = want_raw_data_sector, want_subcode
-
disabled by default for speed
- huffman_api
-
currently unstable APIs
Affects
chd::huffman
… - codec_api
-
Affects
chd::codecs
… - unstable_lending_iterators = lending-iterator, nougat
-
Affects
chd::iter
… - want_subcode cd_full verify_block_crc?
-
if disabled results may be unwanted
- want_raw_data_sector cd_full verify_block_crc?
- max_perf = fast_lzma, fast_zlib, fast_zstd
-
performance tweaks
- fast_zlib max_perf? = std
-
codecs
- fast_lzma max_perf? = std
- fast_zstd max_perf? = std, zstd-safe
-
Affects
zstd::ZstdCodec
…
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.