Cargo Features

[dependencies]
dock_crypto_utils = { version = "0.17.0", default-features = false, features = ["std", "print-trace", "parallel"] }
default = parallel

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

std parallel

Enables std of ark-ec, ark-ff, ark-poly, ark-serialize, ark-std, chacha20poly1305, hkdf, dock_merlin, num, serde, and sha2

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

print-trace

Enables print-trace of ark-std

parallel default = rayon, std

Enables parallel of ark-ec, ark-ff, ark-poly, and ark-std

Affects aliases::SendIfParallel, aliases::SyncIfParallel

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