Cargo Features
[dependencies]
oblivious_transfer_protocols = { version = "0.9.0", default-features = false, features = ["std", "parallel"] }
- default = parallel
-
The
parallel
feature is set by default wheneveroblivious_transfer_protocols
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, 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. - parallel default = rayon, std
-
Enables parallel of ark-ec ^0.4.1, ark-ff ^0.4.1, and ark-std ^0.4.0
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.