# 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.91"
name = "sp1-verifier"
version = "6.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Verifier for SP1 Groth16 and Plonk proofs."
readme = "README.md"
keywords = [
    "sp1",
    "succinct",
    "zero-knowledge",
    "zkvm",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/succinctlabs/sp1"

[features]
ark = [
    "ark-bn254",
    "ark-serialize",
    "ark-ff",
    "ark-groth16",
    "ark-ec",
]
default = []
std = ["thiserror/std"]

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

[dependencies.ark-bn254]
version = "0.5.0"
optional = true

[dependencies.ark-ec]
version = "0.5.0"
optional = true

[dependencies.ark-ff]
version = "0.5.0"
optional = true

[dependencies.ark-groth16]
version = "0.5.0"
optional = true

[dependencies.ark-serialize]
version = "0.5.0"
optional = true

[dependencies.bincode]
version = "1.3.3"

[dependencies.blake3]
version = "1.6.1"
default-features = false

[dependencies.bn]
version = "=0.6.0"
package = "substrate-bn-succinct-rs"

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

[dependencies.hex]
version = "0.4.3"
features = ["alloc"]
default-features = false

[dependencies.lazy_static]
version = "1.5.0"
default-features = false

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

[dependencies.sha2]
version = "0.10.8"
default-features = false

[dependencies.slop-algebra]
version = "6.1.0"

[dependencies.slop-challenger]
version = "6.1.0"

[dependencies.slop-primitives]
version = "6.1.0"

[dependencies.slop-symmetric]
version = "6.1.0"

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

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

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

[dependencies.sp1-recursion-machine]
version = "6.1.0"
default-features = false

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

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.cfg-if]
version = "1.0.0"

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

[dev-dependencies.serial_test]
version = "3.2.0"

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

[build-dependencies.dirs]
version = "5.0"

[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)",
]
