bump to 0.5.0; don't enable frost-rerandomized with std (#48)

* bump to 0.4.1; don't enable frost-rerandomized with std

* Apply suggestions from code review

Co-authored-by: str4d <thestr4d@gmail.com>

* add rust-version to Cargo.toml

* use published version of frost-rerandomized

---------

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Conrado Gouvea 2023-03-09 17:05:07 -03:00 committed by GitHub
parent 3ac90e2e0a
commit 50620fc2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 7 deletions

View File

@ -2,12 +2,14 @@
Entries are listed in reverse chronological order.
## Unreleased
## 0.5.0
* Migrate to `group` 0.13, `jubjub` 0.10, `pasta_curves` 0.5
* Add Pallas and Jubjub ciphersuites and FROST support (#33)
* Migrate to `group` 0.13, `jubjub` 0.10, `pasta_curves` 0.5 (#44)
## 0.4.0
* MSRV is now 1.60.0 (note: this was noticed after the crate was released)
* port improvements from Zebra (#40)
* clippy fixes; remove old FROST code (#32)
* Update `criterion` requirement from 0.3 to 0.4 (#29)

View File

@ -1,15 +1,17 @@
[package]
name = "reddsa"
edition = "2021"
rust-version = "1.60"
# When releasing to crates.io:
# - Update CHANGELOG.md
# - Create git tag.
version = "0.4.0"
version = "0.5.0"
authors = [
"Henry de Valence <hdevalence@hdevalence.ca>",
"Deirdre Connolly <durumcrustulum@gmail.com>",
"Chelsea Komlo <me@chelseakomlo.com>",
"Jack Grigg <jack@electriccoin.co>",
"Conrado Gouvea <conradoplg@gmail.com>",
]
readme = "README.md"
license = "MIT OR Apache-2.0"
@ -31,7 +33,7 @@ pasta_curves = { version = "0.5", default-features = false }
rand_core = { version = "0.6", default-features = false }
serde = { version = "1", optional = true, features = ["derive"] }
thiserror = { version = "1.0", optional = true }
frost-rerandomized = { git = "https://github.com/ZcashFoundation/frost.git", rev = "ffe5c57a1729c933b3ec8766ec96d2e6976a7ece", optional = true }
frost-rerandomized = { version = "0.1", optional = true }
[dependencies.zeroize]
version = "1"
@ -48,7 +50,7 @@ proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
frost-rerandomized = { git = "https://github.com/ZcashFoundation/frost.git", rev = "ffe5c57a1729c933b3ec8766ec96d2e6976a7ece", features=["test-impl"] }
frost-rerandomized = { version = "0.1", features=["test-impl"] }
# `alloc` is only used in test code
[dev-dependencies.pasta_curves]
@ -58,10 +60,10 @@ features = ["alloc"]
[features]
std = ["blake2b_simd/std", "thiserror", "zeroize", "alloc",
"serde", "frost-rerandomized"] # conditional compilation for serde not complete (issue #9)
"serde"] # conditional compilation for serde not complete (issue #9)
alloc = ["hex"]
nightly = []
frost = ["frost-rerandomized"]
frost = ["std", "frost-rerandomized"]
default = ["std"]
[[bench]]

View File

@ -43,6 +43,11 @@ assert!(
);
```
## FROST
You can enable ZIP-312 re-randomized FROST support with the `frost` feature.
This is still experimental since ZIP-312 is still a draft.
## docs
```shell,no_run