Cargo Features

[dependencies]
risc0-circuit-recursion = { version = "1.2.1-rc.0", default-features = false, features = ["std", "cuda", "metal", "prove", "test"] }
default = prove, test

These default features are set whenever risc0-circuit-recursion is added without default-features = false somewhere in the dependency tree.

std cuda? prove

Enables std of risc0-zkp

cuda = prove, std

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

Affects risc0-circuit-recursion::cuda

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

Enables risc0-sys, serde, sha2, and zip, cfg-if, lazy-regex, rand, rayon, and downloader, perf of risc0-core, prove of risc0-zkp

Affects risc0-circuit-recursion::cpu, risc0-circuit-recursion::metal, risc0-circuit-recursion::prove, risc0-circuit-recursion::zkr

test default

Affects risc0-circuit-recursion::testutil

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-recursion-sys not zkvm cuda? prove