Cargo Features
[dependencies]
bbs_plus = { version = "0.22.0", default-features = false, features = ["std", "print-trace", "parallel"] }
- default = parallel
-
The
parallel
feature is set by default wheneverbbs_plus
is added without
somewhere in the dependency tree.default-features = false - std parallel
-
Enables std of ark-ec ^0.4.1, ark-ff ^0.4.1, ark-serialize ^0.4.1, ark-std ^0.4.0, dock_crypto_utils, oblivious_transfer_protocols, schnorr_pok, secret_sharing_and_dkg, and serde
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, dock_crypto_utils, and schnorr_pok
- parallel default = rayon, std
-
Enables parallel of ark-ec ^0.4.1, ark-ff ^0.4.1, ark-std ^0.4.0, dock_crypto_utils, oblivious_transfer_protocols, schnorr_pok, and secret_sharing_and_dkg
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.