Cargo Features

risc0-zkp has no features set by default.

[dependencies]
risc0-zkp = { version = "1.0.0-rc.3", features = ["std", "cuda", "metal", "prove"] }
std prove?

Enables std of anyhow

cuda = prove

Enables cust, cuda of risc0-sys

Affects hal::cuda

metal = prove

Enables metal ^0.27, metal of risc0-sys

Affects hal::metal

prove cuda? metal? = risc0-sys, std

Enables ff, ndarray, nvtx, parking_lot, rand, and rayon

Affects hash::poseidon_254, risc0-zkp::hal, risc0-zkp::prove

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.

risc0-sys not zkvm cuda? metal? prove?