# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "risc0-zkvm" version = "1.1.3" description = "RISC Zero zero-knowledge VM" homepage = "https://risczero.com/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/risc0/risc0/" [package.metadata.docs.rs] features = [ "client", "prove", "getrandom", "std", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "datasheet" required-features = ["prove"] [[example]] name = "fib" required-features = ["prove"] [[example]] name = "recursion" required-features = ["prove"] [[bench]] name = "fib" harness = false required-features = ["prove"] [[bench]] name = "guest_run" harness = false [dependencies.anyhow] version = "1.0" default-features = false [dependencies.borsh] version = "1.5" features = ["derive"] default-features = false [dependencies.bytemuck] version = "1.13" features = ["extern_crate_alloc"] [dependencies.getrandom] version = "0.2" features = ["custom"] [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.risc0-binfmt] version = "1.1.3" default-features = false [dependencies.risc0-circuit-recursion] version = "1.1.3" default-features = false [dependencies.risc0-circuit-rv32im] version = "1.1.3" default-features = false [dependencies.risc0-core] version = "1.1.3" default-features = false [dependencies.risc0-groth16] version = "1.1.3" default-features = false [dependencies.risc0-zkp] version = "1.1.3" default-features = false [dependencies.risc0-zkvm-platform] version = "1.1.3" features = [ "rust-runtime", "export-getrandom", ] default-features = false [dependencies.rrs-lib] version = "0.1" [dependencies.semver] version = "1.0" default-features = false [dependencies.serde] version = "1.0" features = [ "alloc", "derive", ] default-features = false [dependencies.stability] version = "0.2" [dependencies.tracing] version = "0.1" features = ["attributes"] default-features = false [dev-dependencies.bincode] version = "1.3" [dev-dependencies.chrono] version = "0.4" features = ["serde"] default-features = false [dev-dependencies.ciborium] version = "0.2" [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.mini-redis] version = "0.4.1" default-features = false [dev-dependencies.postcard] version = "1.0" features = ["alloc"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rmp-serde] version = "1.3" [dev-dependencies.tokio] version = "1.41.0" features = ["macros"] default-features = false [dev-dependencies.tracing-forest] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] client = [ "dep:bincode", "dep:bonsai-sdk", "dep:bytes", "dep:lazy-regex", "dep:risc0-build", "dep:prost", "dep:tempfile", "std", ] cuda = [ "prove", "risc0-circuit-recursion/cuda", "risc0-circuit-rv32im/cuda", "risc0-zkp/cuda", ] default = ["client"] disable-dev-mode = [] docker = [] dual = [] getrandom = ["risc0-zkvm-platform/getrandom"] heap-embedded-alloc = ["risc0-zkvm-platform/heap-embedded-alloc"] metal = ["prove"] prove = [ "client", "dep:addr2line", "dep:bincode", "dep:bytes", "dep:elf", "dep:lazy-regex", "dep:prost", "dep:rand", "dep:rayon", "dep:rustc-demangle", "dep:tempfile", "dep:typetag", "risc0-circuit-recursion/prove", "risc0-circuit-rv32im/prove", "risc0-core/perf", "risc0-groth16/prove", "risc0-zkp/prove", "std", ] redis = ["dep:redis"] std = [ "anyhow/std", "hex/std", "risc0-binfmt/std", "risc0-groth16/std", "risc0-zkp/std", "serde/std", "sha2/std", ] unstable = ["risc0-zkvm-platform/unstable"] [target."cfg(not(target_os = \"zkvm\"))".dependencies.addr2line] version = "0.22" features = ["rustc-demangle"] optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.bincode] version = "1.3" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.bonsai-sdk] version = "1.1.3" optional = true default-features = false [target."cfg(not(target_os = \"zkvm\"))".dependencies.bytes] version = "1.6" features = ["serde"] optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.elf] version = "0.7" optional = true default-features = false [target."cfg(not(target_os = \"zkvm\"))".dependencies.lazy-regex] version = "3.2" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.prost] version = "0.13" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.rand] version = "0.8" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.rayon] version = "1.5" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.redis] version = "0.27.2" features = ["tls-native-tls"] optional = true default-features = false [target."cfg(not(target_os = \"zkvm\"))".dependencies.risc0-build] version = "1.1.3" optional = true default-features = false [target."cfg(not(target_os = \"zkvm\"))".dependencies.rustc-demangle] version = "0.1" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.sha2] version = "0.10" default-features = false [target."cfg(not(target_os = \"zkvm\"))".dependencies.tempfile] version = "3" optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.typetag] version = "0.2" optional = true [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.crypto-bigint] version = "0.5" features = ["rand"] default-features = false [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.enum-iterator] version = "2.1" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.flate2] version = "1.0" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.human-repr] version = "1.0" features = ["1024"] [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.puffin] version = "0.19" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.puffin_http] version = "0.16" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.serde_json] version = "1.0" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.serde_with] version = "3.9" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.tabled] version = "0.16" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.tar] version = "0.4" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.tempfile] version = "3" [target."cfg(not(target_os = \"zkvm\"))".dev-dependencies.test-log] version = "0.2" features = ["trace"] default-features = false