# 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.79.0"
name = "nova-snark"
version = "0.58.0"
authors = ["Srinath Setty <srinath@microsoft.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-speed recursive arguments from folding schemes"
documentation = "https://docs.rs/nova-snark/"
readme = "README.md"
keywords = [
    "zkSNARKs",
    "cryptography",
    "proofs",
]
license-file = "LICENSE"
repository = "https://github.com/Microsoft/Nova"

[features]
default = ["io"]
evm = []
experimental = []
flamegraph = [
    "pprof2/flamegraph",
    "pprof2/criterion",
]
io = []
test-utils = []

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

[[example]]
name = "and"
path = "examples/and.rs"

[[example]]
name = "hashchain"
path = "examples/hashchain.rs"

[[example]]
name = "minroot"
path = "examples/minroot.rs"

[[example]]
name = "ppot_prune"
path = "examples/ppot_prune.rs"
required-features = ["io"]

[[example]]
name = "ptau_test_setup"
path = "examples/ptau_test_setup.rs"
required-features = [
    "test-utils",
    "io",
]

[[bench]]
name = "commit"
path = "benches/commit.rs"
harness = false

[[bench]]
name = "compressed-snark"
path = "benches/compressed-snark.rs"
harness = false

[[bench]]
name = "ppsnark"
path = "benches/ppsnark.rs"
harness = false

[[bench]]
name = "recursive-snark"
path = "benches/recursive-snark.rs"
harness = false

[[bench]]
name = "sha256"
path = "benches/sha256.rs"
harness = false

[[bench]]
name = "sumcheckeq"
path = "benches/sumcheckeq.rs"
harness = false

[dependencies.bincode]
version = "2"
features = [
    "serde",
    "std",
]

[dependencies.bitvec]
version = "1.0"

[dependencies.blitzar]
version = "5.0.0"
optional = true

[dependencies.byteorder]
version = "1.4.3"

[dependencies.digest]
version = "0.10"

[dependencies.ff]
version = "0.13.0"
features = ["derive"]

[dependencies.generic-array]
version = "1.2.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.num-bigint]
version = "0.4.6"
features = [
    "serde",
    "rand",
]

[dependencies.num-integer]
version = "0.1.46"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.rand_chacha]
version = "0.3"

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
default-features = false

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1.0.217"
features = ["derive"]

[dependencies.serde_with]
version = "3.8.3"

[dependencies.sha3]
version = "0.10"

[dependencies.subtle]
version = "2.6.1"

[dependencies.thiserror]
version = "2.0.11"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.expect-test]
version = "1.5.1"

[dev-dependencies.flate2]
version = "1.0.35"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.pprof2]
version = "0.13"

[dev-dependencies.proptest]
version = "1.6.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.reqwest]
version = "0.12"
features = ["blocking"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.sha2]
version = "0.10.7"

[target.'cfg(not(target_arch = "x86_64"))'.dependencies.halo2curves]
version = "0.9.0"
features = [
    "std",
    "bits",
    "derive_serde",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.15"
features = ["js"]
default-features = false

[target.'cfg(target_arch = "x86_64")'.dependencies.halo2curves]
version = "0.9.0"
features = [
    "std",
    "bits",
    "derive_serde",
    "asm",
]
