Cargo Features

[dependencies]
dock_crypto_utils = { version = "0.20.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 ^0.4.1, ark-ff ^0.4.1, ark-poly ^0.4.1, ark-serialize ^0.4.1, ark-std ^0.4.0, 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 ^0.4.0

parallel default = rayon, std

Enables parallel of ark-ec ^0.4.1, ark-ff ^0.4.1, ark-poly ^0.4.1, and ark-std ^0.4.0

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