Cargo Features

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

These default features are set whenever fawkes-crypto 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

wasm

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

getrandom:

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

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 wasm?

Enables fawkes-crypto-bellman_ce