Cargo Features

[dependencies]
fawkes-crypto-zkbob = { version = "4.7.0", default-features = false, features = ["r1cs", "plonk", "backend_bellman_groth16", "heavy_tests", "borsh_support", "serde_support", "rand_support", "wasm", "multicore"] }
default = backend_bellman_groth16, borsh_support, r1cs, serde_support

These default features are set whenever fawkes-crypto-zkbob is added without default-features = false somewhere in the dependency tree.

r1cs default = linked-list
plonk
backend_bellman_groth16 default = bellman, rand_support

Affects backend::bellman_groth16

heavy_tests
borsh_support default = borsh

Enables borsh_support of ff-uint

serde_support default = serde

Enables serde_support of ff-uint

rand_support backend_bellman_groth16 = getrandom, rand

Enables rand_support of ff-uint

Affects bellman_groth16::osrng, bellman_groth16::setup, prover::prove, prover::prove_precomputed

wasm

Enables wasm of fawkes-crypto-zkbob-bellman_ce and js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

multicore

Enables multicore of fawkes-crypto-zkbob-bellman_ce

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.

linked-list r1cs
rand rand_support?

Enables rand ^0.7.3

serde serde_support
borsh borsh_support

Enables borsh ^0.9

getrandom rand_support? wasm?
bellman backend_bellman_groth16 multicore? wasm?

Enables fawkes-crypto-zkbob-bellman_ce