Cargo Features

[dependencies]
file_rw = { version = "0.6.6", default-features = false, features = ["hash", "sha3_256", "search", "filepath", "std", "alloc"] }
default = alloc, filepath, search, sha3_256, std

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

hash sha3_256

Enables digest

Affects read::compare_files_with

sha3_256 default = hash

Enables sha3

Affects read::compare_files

Enables memchr

filepath default

Enables filepath

std default

Crate is not currently no_std compatible!

Enables std of digest, memchr, and sha3

alloc default

Crate itself uses alloc regardless!

Enables alloc of digest and memchr