# 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-zkp" version = "1.1.3" description = "RISC Zero zero-knowledge proof system core crate" homepage = "https://risczero.com/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/risc0/risc0/" [package.metadata.docs.rs] features = [ "prove", "std", ] rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "hash" harness = false [dependencies.anyhow] version = "1.0" default-features = false [dependencies.blake2] version = "0.10.6" default-features = false [dependencies.borsh] version = "1.5" features = ["derive"] default-features = false [dependencies.bytemuck] version = "1.12" features = ["derive"] [dependencies.cfg-if] version = "1.0" [dependencies.cust] version = "0.3" optional = true [dependencies.digest] version = "0.10" features = ["oid"] [dependencies.ff] version = "0.13" features = [ "derive", "bits", ] optional = true [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.hex-literal] version = "0.4.1" [dependencies.paste] version = "1.0" [dependencies.rand_core] version = "0.6" [dependencies.risc0-core] version = "1.1.3" default-features = false [dependencies.risc0-zkvm-platform] version = "1.1.3" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.sha2] version = "0.10" features = ["compress"] default-features = false [dependencies.tracing] version = "0.1" features = ["attributes"] default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [dev-dependencies.test-log] version = "0.2" features = ["trace"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] circuit_debug = [] cuda = [ "dep:cust", "prove", "risc0-sys/cuda", ] default = [] metal = ["prove"] metal_prefix_products = [] prove = [ "dep:ff", "dep:ndarray", "dep:parking_lot", "dep:rand", "dep:rayon", "dep:risc0-sys", "risc0-core/perf", "std", ] std = ["anyhow/std"] [target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.metal] version = "0.29" [target."cfg(not(target_os = \"zkvm\"))".dependencies.ndarray] version = "0.16" features = ["rayon"] optional = true [target."cfg(not(target_os = \"zkvm\"))".dependencies.parking_lot] version = "0.12" 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.risc0-sys] version = "1.1.3" optional = true default-features = false