-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/2.0.0' into main
- Loading branch information
Showing
23 changed files
with
452 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
[package] | ||
name = "bulletproofs" | ||
version = "1.0.4" | ||
# Before doing a release: | ||
# - update version field | ||
# - update html_root_url | ||
# - ensure yoloproofs was disabled in an atomic (revertable) commit | ||
# - update CHANGELOG | ||
version = "2.0.0" | ||
authors = ["Cathie Yun <[email protected]>", | ||
"Henry de Valence <[email protected]>", | ||
"Oleg Andreev <[email protected]>"] | ||
|
@@ -10,33 +15,33 @@ repository = "https://github.com/dalek-cryptography/bulletproofs" | |
categories = ["cryptography"] | ||
keywords = ["cryptography", "crypto", "ristretto", "zero-knowledge", "bulletproofs"] | ||
description = "A pure-Rust implementation of Bulletproofs using Ristretto" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
curve25519-dalek = { version = "1.0.3", features = ["serde"] } | ||
subtle = "2" | ||
sha3 = "0.8" | ||
digest = "0.8" | ||
rand = "0.6" | ||
byteorder = "1" | ||
serde = "1" | ||
serde_derive = "1" | ||
failure = "0.1" | ||
merlin = "1.1" | ||
clear_on_drop = "0.2" | ||
curve25519-dalek = { version = "2", default-features = false, features = ["u64_backend", "nightly", "serde", "alloc"] } | ||
subtle = { version = "2", default-features = false } | ||
sha3 = { version = "0.8", default-features = false } | ||
digest = { version = "0.8", default-features = false } | ||
rand_core = { version = "0.5", default-features = false, features = ["alloc"] } | ||
rand = { version = "0.7", default-features = false, optional = true } | ||
byteorder = { version = "1", default-features = false } | ||
serde = { version = "1", default-features = false, features = ["alloc"] } | ||
serde_derive = { version = "1", default-features = false } | ||
thiserror = { version = "1", optional = true } | ||
merlin = { version = "2", default-features = false } | ||
clear_on_drop = { version = "0.2", default-features = false, features = ["nightly"] } | ||
|
||
[dev-dependencies] | ||
hex = "0.3" | ||
criterion = "0.2" | ||
criterion = "0.3" | ||
bincode = "1" | ||
rand_chacha = "0.1" | ||
rand_chacha = "0.2" | ||
|
||
[features] | ||
default = ["std", "avx2_backend"] | ||
avx2_backend = ["curve25519-dalek/avx2_backend"] | ||
# Disable the yoloproofs feature in the released crate. | ||
# To test it, use a git dependency on the develop branch and enable the | ||
# yoloproofs feature. Note that this means it's impossible to publish a crate | ||
# depending on the unstable R1CS API. | ||
#yoloproofs = [] | ||
# yoloproofs = [] | ||
std = ["rand", "rand/std", "thiserror"] | ||
|
||
[[test]] | ||
name = "range_proof" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
extern crate bulletproofs; | ||
use bulletproofs::{BulletproofGens, PedersenGens}; | ||
|
||
#[macro_use] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.