[package] name = "spartan" version = "0.7.1" authors = ["Srinath Setty "] edition = "2021" description = "High-speed zkSNARKs without trusted setup" documentation = "https://docs.rs/spartan/" readme = "README.md" repository = "https://github.com/microsoft/Spartan" license-file = "LICENSE" keywords = ["zkSNARKs", "cryptography", "proofs"] [dependencies] curve25519-dalek = {version = "3.2.0", features = ["serde"]} merlin = "3.0.0" digest = "0.8.1" sha3 = "0.8.2" byteorder = "1.3.4" rayon = { version = "1.3.0", optional = true } serde = { version = "1.0.106", features = ["derive"] } bincode = "1.2.1" subtle = { version = "2.4", default-features = false } rand_core = { version = "0.5", default-features = false } zeroize = { version = "1", default-features = false } itertools = "0.10.0" colored = "2.0.0" flate2 = "1.0.14" thiserror = "1.0" json = "0.12.4" ark-ff = { version = "^0.3.0", default-features = false } ark-ec = { version = "^0.3.0", default-features = false } ark-std = { version = "^0.3.0"} ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] } ark-serialize = { version = "^0.3.0", features = ["derive"] } ark-sponge = { version = "^0.3.0" , features = ["r1cs"] } ark-crypto-primitives = { version = "^0.3.0", default-features = true } ark-r1cs-std = { version = "^0.3.0", default-features = false } ark-nonnative-field = { version = "0.3.0", default-features = false } ark-relations = { version = "^0.3.0", default-features = false } ark-snark = { version = "^0.3.0", default-features = false } lazy_static = "1.4.0" rand = { version = "0.8", features = [ "std", "std_rng" ] } num-bigint = { version = "0.4" } [dev-dependencies] criterion = "0.3.1" [lib] name = "libspartan" path = "src/lib.rs" [[bin]] name = "snark" path = "profiler/snark.rs" [[bin]] name = "nizk" path = "profiler/nizk.rs" [[bench]] name = "snark" harness = false [[bench]] name = "nizk" harness = false [features] default = ["curve25519-dalek/simd_backend"] multicore = ["rayon"] profile = [] [patch.crates-io] ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}