Cargo Features
[dependencies]
coconut-crypto = { version = "0.11.0", default-features = false, features = ["std", "parallel"] }
- default = parallel, std
-
These default features are set whenever
coconut-crypto
is added without
somewhere in the dependency tree.default-features = false - std default
-
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, schnorr_pok, secret_sharing_and_dkg, serde, and dock_crypto_utils
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - parallel default = rayon
-
Enables parallel of ark-ec ^0.4.1, ark-ff ^0.4.1, ark-poly ^0.4.1, ark-std ^0.4.0, schnorr_pok, secret_sharing_and_dkg, and dock_crypto_utils
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.