Skip to content

Commit

Permalink
bump to 0.5.0; don't enable frost-rerandomized with std (#48)
Browse files Browse the repository at this point in the history
* bump to 0.4.1; don't enable frost-rerandomized with std

* Apply suggestions from code review

Co-authored-by: str4d <[email protected]>

* add rust-version to Cargo.toml

* use published version of frost-rerandomized

---------

Co-authored-by: str4d <[email protected]>
  • Loading branch information
conradoplg and str4d authored Mar 9, 2023
1 parent 3ac90e2 commit 50620fc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"Deirdre Connolly <[email protected]>",
"Chelsea Komlo <[email protected]>",
"Jack Grigg <[email protected]>",
"Conrado Gouvea <[email protected]>",
]
readme = "README.md"
license = "MIT OR Apache-2.0"
Expand All @@ -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"
Expand All @@ -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]
Expand All @@ -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]]
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50620fc

Please sign in to comment.