Cargo Features

[dependencies]
docufort = { version = "0.5.1", default-features = false, features = ["ecc_len_2", "ecc_len_4", "ecc_len_32", "parallel"] }
default = ecc_len_4

The ecc_len_4 feature is set by default whenever docufort is added without default-features = false somewhere in the dependency tree.

ecc_len_2

Affects docufort::ECC_LEN, docufort::MN_ECC

ecc_len_4 default

Affects docufort::ECC_LEN, docufort::MN_ECC

ecc_len_6 ecc_len_8 ecc_len_16 ecc_len_32

Affects docufort::ECC_LEN, docufort::MN_ECC

parallel = rayon

Affects ecc::calculate_ecc_chunk_par, ecc::calculate_ecc_for_chunks, ecc::apply_ecc_par, ecc::apply_ecc_for_chunks

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.

rayon parallel?