Cargo Features

risc0-zkp has no features set by default.

[dependencies]
risc0-zkp = { version = "1.1.3", features = ["std", "circuit_debug", "cuda", "metal", "metal_prefix_products", "prove"] }
std prove?

Enables std of anyhow

circuit_debug
cuda = prove

Enables cust, cuda of risc0-sys

Affects hal::cuda

metal = prove
metal_prefix_products
prove cuda? metal? = std

Enables risc0-sys, ff, ndarray, parking_lot, rand, and rayon, perf of risc0-core

Affects hash::poseidon_254, risc0-zkp::hal, risc0-zkp::prove, merkle::MerkleTreeParams.layers