Cargo Features
[dependencies]
webb-bulletproofs = { version = "2.0.3", default-features = false, features = ["std", "avx2_backend", "yoloproofs"] }
- default = std
-
The
std
feature is set by default wheneverwebb-bulletproofs
is added without
somewhere in the dependency tree.default-features = false - std default = rand, serde, serde_derive, thiserror
-
Enables serde of curve25519-dalek ^3.0.0 and std of rand ^0.7
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- avx2_backend
-
Enables avx2_backend of curve25519-dalek ^3.0.0
- yoloproofs = sp-std
-
Affects
errors::R1CSError
,webb-bulletproofs::r1cs
,util::VecPoly3
,util::Poly6
…
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.
- rand std
-
Enables rand ^0.7
- serde std
- serde_derive std
- thiserror std
-
Enables thiserror ^1
- sp-std yoloproofs?
-
Enables sp-std ^2.0.0