Cargo Features

[dependencies]
xz4rust = { version = "0.1.1", default-features = false, features = ["std", "alloc", "bcj", "sha256", "crc64", "no_unsafe"] }
default = alloc, bcj, crc64, sha256, std

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

std default = alloc
alloc default std
bcj default

Affects clamp::clamp_u64_to_u8

sha256 default = sha2
crc64 default

Affects clamp::clamp_u64_to_us

no_unsafe

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.

sha2 sha256