Cargo Features

[dependencies]
ruzstd = { version = "0.7.2", default-features = false, features = ["std", "hash", "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::VERBOSE, ruzstd::io

Required by zstd and zstd_stream binaries

hash default

Enables twox-hash ^1.6

Affects decodebuffer::DecodeBuffer.hash

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