Cargo Features

[dependencies]
risc0-circuit-rv32im = { version = "1.1.3", default-features = false, features = ["std", "cuda", "metal", "prove"] }
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
prove default cuda? metal? = risc0-circuit-rv32im-sys, std

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

Affects risc0-circuit-rv32im::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? prove