Cargo Features

[dependencies]
ruzstd = { version = "0.8.0", default-features = false, features = ["std", "hash", "fuzz_exports", "rustc-dep-of-std"] }
default = hash, std

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

std default

Affects ruzstd::io, tests::encode_corpus

Required by zstd and zstd_stream binaries

hash default

Enables twox-hash

Affects decodebuffer::DecodeBuffer.hash

fuzz_exports

Affects ruzstd::fse, ruzstd::huff0

rustc-dep-of-std

Internal feature, only used when building as part of libstd, not part of the stable interface of this crate.

Enables rustc-std-workspace-alloc, compiler_builtins, and rustc-std-workspace-core