Cargo Features

[dependencies]
risc0-circuit-rv32im = { version = "1.0.0-rc.7", default-features = false, features = ["std", "cuda", "metal", "prove", "seq"] }
default = prove

The prove feature is set by default whenever risc0-circuit-rv32im is added without default-features = false somewhere in the dependency tree.

std cuda? prove

Enables std of risc0-zkp and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

cuda = prove, std

Enables cust, cuda of risc0-circuit-rv32im-sys, risc0-zkp, and optional risc0-sys

Affects hal::cuda

metal = prove

Enables metal, metal of risc0-circuit-rv32im-sys, risc0-zkp, and optional risc0-sys

Affects hal::metal

prove default cuda? metal? seq? = risc0-circuit-rv32im-sys, std

Enables sha2, bytemuck, cfg-if, crossbeam, crypto-bigint, derive-debug, lazy-regex, nvtx, rand, rayon, and risc0-sys, prove of risc0-zkp

Affects risc0-circuit-rv32im::prove

seq = 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-circuit-rv32im-sys not zkvm cuda? metal? prove