# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "bulletproofs"
version = "3.0.1"
authors = ["Cathie Yun <cathieyun@gmail.com>", "Henry de Valence <hdevalence@hdevalence.ca>", "Oleg Andreev <oleganza@gmail.com>"]
description = "A pure-Rust implementation of Bulletproofs using Ristretto"
readme = "README.md"
keywords = ["cryptography", "crypto", "ristretto", "zero-knowledge", "bulletproofs"]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/zkcrypto/bulletproofs"

[[test]]
name = "range_proof"

[[test]]
name = "r1cs"
required-features = ["yoloproofs"]

[[bench]]
name = "range_proof"
harness = false
required-features = ["avx2_backend"]

[[bench]]
name = "generators"
harness = false

[[bench]]
name = "r1cs"
harness = false
required-features = ["yoloproofs", "avx2_backend"]
[dependencies.byteorder]
version = "1"
default-features = false

[dependencies.clear_on_drop]
version = "0.2"
default-features = false

[dependencies.curve25519-dalek]
version = "3"
features = ["u64_backend", "serde"]
default-features = false
package = "curve25519-dalek-ng"

[dependencies.digest]
version = "0.9.0"
default-features = false

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

[dependencies.rand]
version = "0.7"
optional = true
default-features = false

[dependencies.rand_core]
version = "0.5"
features = ["alloc"]
default-features = false

[dependencies.serde]
version = "1"
features = ["alloc"]
default-features = false

[dependencies.serde_derive]
version = "1"
default-features = false

[dependencies.sha3]
version = "0.9.1"
default-features = false

[dependencies.subtle]
version = "2"
default-features = false
package = "subtle-ng"

[dependencies.thiserror]
version = "1"
optional = true
[dev-dependencies.bincode]
version = "1"

[dev-dependencies.criterion]
version = "0.3"

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

[dev-dependencies.rand_chacha]
version = "0.2"

[features]
avx2_backend = ["curve25519-dalek/avx2_backend"]
default = ["std"]
docs = ["nightly"]
nightly = ["curve25519-dalek/nightly", "curve25519-dalek/alloc", "subtle/nightly", "clear_on_drop/nightly"]
std = ["rand", "rand/std", "thiserror", "curve25519-dalek/std"]
yoloproofs = []
