sp1-sdk 6.2.2

The SP1 SDK for building and proving zkVM programs
Documentation
# 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"
rust-version = "1.88"
name = "sp1-sdk"
version = "6.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The SP1 SDK for building and proving zkVM programs"
readme = "README.md"
keywords = [
    "sp1",
    "succinct",
    "zero-knowledge",
    "zkvm",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/succinctlabs/sp1"

[package.metadata.docs.rs]
features = [
    "network",
    "blocking",
]

[features]
bigint-rug = ["sp1-core-machine/bigint-rug"]
blocking = []
cuda = ["dep:sp1-cuda"]
default = []
experimental = ["sp1-prover/experimental"]
groth16-cuda = [
    "sp1-recursion-gnark-ffi/groth16-cuda",
    "native-gnark",
]
mprotect = [
    "experimental",
    "sp1-core-executor/mprotect",
    "sp1-core-executor-runner/mprotect",
    "sp1-core-machine/mprotect",
    "sp1-hypercube/mprotect",
    "sp1-prover/mprotect",
    "sp1-recursion-executor/mprotect",
]
native-gnark = [
    "dep:sp1-recursion-gnark-ffi",
    "sp1-prover/native-gnark",
]
network = [
    "dep:prost",
    "dep:aws-config",
    "dep:aws-sdk-kms",
    "dep:rustls",
    "dep:alloy-signer",
    "dep:alloy-signer-aws",
    "dep:alloy-signer-local",
    "dep:alloy-primitives",
    "dep:reqwest",
    "dep:twirp",
    "dep:reqwest-middleware",
    "dep:tonic",
    "dep:backoff",
    "dep:zstd",
]
profiling = [
    "sp1-core-executor/profiling",
    "sp1-core-executor-runner/profiling",
    "sp1-prover/profiling",
]
reserved-capacity = ["network"]
slow-tests = []
tee-2fa = []

[lib]
name = "sp1_sdk"
path = "src/lib.rs"

[dependencies.alloy-primitives]
version = "1.0"
features = [
    "k256",
    "serde",
]
optional = true
default-features = false

[dependencies.alloy-signer]
version = "1.0"
optional = true
default-features = false

[dependencies.alloy-signer-aws]
version = "1.0"
optional = true
default-features = false

[dependencies.alloy-signer-local]
version = "1.0"
optional = true
default-features = false

[dependencies.anyhow]
version = "1.0.86"

[dependencies.async-trait]
version = "0.1.81"

[dependencies.aws-config]
version = "1.5.3"
optional = true

[dependencies.aws-sdk-kms]
version = "1.77.0"
features = [
    "default-https-client",
    "rt-tokio",
]
optional = true
default-features = false

[dependencies.backoff]
version = "0.4"
features = ["tokio"]
optional = true

[dependencies.bincode]
version = "1.3.3"

[dependencies.cfg-if]
version = "1.0.3"

[dependencies.dirs]
version = "5.0.1"

[dependencies.eventsource-stream]
version = "0.2.0"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.indicatif]
version = "0.17.8"

[dependencies.itertools]
version = "0.14.0"

[dependencies.k256]
version = "0.13.4"
features = ["serde"]

[dependencies.num-bigint]
version = "0.4.6"
default-features = false

[dependencies.prost]
version = "0.13"
optional = true

[dependencies.reqwest]
version = "0.12.12"
features = [
    "rustls-tls",
    "trust-dns",
    "stream",
    "json",
]
optional = true
default-features = false

[dependencies.reqwest-middleware]
version = "0.3.2"
optional = true

[dependencies.rustls]
version = "0.23.27"
features = ["ring"]
optional = true

[dependencies.serde]
version = "1.0.204"
features = [
    "derive",
    "derive",
]

[dependencies.sha2]
version = "0.10.8"

[dependencies.sp1-build]
version = "6.2.2"

[dependencies.sp1-core-executor]
version = "6.2.2"

[dependencies.sp1-core-executor-runner]
version = "6.2.2"

[dependencies.sp1-core-machine]
version = "6.2.2"

[dependencies.sp1-cuda]
version = "6.2.2"
optional = true

[dependencies.sp1-hypercube]
version = "6.2.2"

[dependencies.sp1-primitives]
version = "6.2.2"

[dependencies.sp1-prover]
version = "6.2.2"

[dependencies.sp1-prover-types]
version = "6.2.2"

[dependencies.sp1-recursion-executor]
version = "6.2.2"
default-features = false

[dependencies.sp1-recursion-gnark-ffi]
version = "6.2.2"
optional = true
default-features = false

[dependencies.sp1-verifier]
version = "6.2.2"
default-features = false

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.tempfile]
version = "3.10.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.42.0"
features = [
    "fs",
    "io-util",
    "process",
    "rt",
    "sync",
    "time",
    "rt-multi-thread",
]
default-features = false

[dependencies.tracing]
version = "0.1.40"

[dependencies.twirp]
version = "0.13.0-succinct"
optional = true
package = "twirp-rs"

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.rstest]
version = "0.26.0"

[dev-dependencies.tokio]
version = "1.42.0"
features = [
    "macros",
    "rt",
]
default-features = false

[dev-dependencies.tokio-test]
version = "0.4.4"

[target.'cfg(not(target_os = "ios"))'.dependencies.tonic]
version = "0.12.3"
features = [
    "tls",
    "tls",
    "tls-roots",
]
optional = true

[target.'cfg(target_os = "ios")'.dependencies.tonic]
version = "0.12.3"
features = [
    "tls",
    "tls",
    "tls-webpki-roots",
]
optional = true

[lints.clippy]
print_stdout = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(sp1_debug_constraints)",
    "cfg(sp1_debug_global_memory)",
    "cfg(sp1_core_runner_override)",
    "cfg(sp1_use_native_executor)",
    "cfg(sp1_use_portable_executor)",
    "cfg(sp1_native_executor_available)",
]