Skip to content

Commit adb6a12

Browse files
authored
ed,x: Cut pre.1 prereleases (#820)
* Cut `pre.1` prereleases These prereleases included updated RustCrypto dependencies which notably migrate from `hybrid-array` v0.3 to v0.4
1 parent 65a9efe commit adb6a12

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

curve25519-dalek/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ major series.
99

1010
* Rename `Scalar::batch_invert` -> `Scalar::invert_batch` for consistency. Also make it no-alloc.
1111
* Add an allocating batch inversion called `Scalar::invert_batch_alloc`.
12+
* Add `Scalar::div_by_2`
1213

1314
## 5.0.0-pre.0
1415

curve25519-dalek/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ curve25519-dalek = ">= 5.0, < 5.2"
5252
| `zeroize` || Enables [`Zeroize`][zeroize-trait] for all scalar and curve point types. |
5353
| `precomputed-tables` || Includes precomputed basepoint multiplication tables. This speeds up `EdwardsPoint::mul_base` and `RistrettoPoint::mul_base` by ~4x, at the cost of ~30KB added to the code size. |
5454
| `rand_core` | | Enables `Scalar::random` and `RistrettoPoint::random`. This is an optional dependency whose version is not subject to SemVer. See [below](#public-api-semver-exemptions) for more details. |
55-
| `digest` | | Enables `RistrettoPoint::{from_hash, hash_from_bytes}` and `Scalar::{from_hash, hash_from_bytes}`. This is an optional dependency whose version is not subject to SemVer. See [below](#public-api-semver-exemptions) for more details. |
55+
| `digest` | | Enables `RistrettoPoint::{from_hash, hash_from_bytes}` and `Scalar::{from_hash, hash_from_bytes}`. Also enables hash-to-curve methods `EdwardsPoint::{encode_to_curve, hash_to_curve}`. This is an optional dependency whose version is not subject to SemVer. See [below](#public-api-semver-exemptions) for more details. |
5656
| `serde` | | Enables `serde` serialization/deserialization for all the point and scalar types. |
5757
| `legacy_compatibility`| | Enables `Scalar::from_bits`, which allows the user to build unreduced scalars whose arithmetic is broken. Do not use this unless you know what you're doing. |
5858
| `group` | | Enables external `group` and `ff` crate traits. |

ed25519-dalek/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ed25519-dalek"
3-
version = "3.0.0-pre.0"
3+
version = "3.0.0-pre.1"
44
edition = "2024"
55
authors = [
66
"isis lovecruft <[email protected]>",
@@ -28,7 +28,7 @@ rustdoc-args = [
2828
features = ["batch", "digest", "hazmat", "pem", "serde"]
2929

3030
[dependencies]
31-
curve25519-dalek = { version = "=5.0.0-pre.0", default-features = false, features = [
31+
curve25519-dalek = { version = "=5.0.0-pre.1", default-features = false, features = [
3232
"digest",
3333
] }
3434
ed25519 = { version = "3.0.0-rc.0", default-features = false }
@@ -43,11 +43,11 @@ serde = { version = "1.0", default-features = false, optional = true }
4343
zeroize = { version = "1.5", default-features = false, optional = true }
4444

4545
[dev-dependencies]
46-
curve25519-dalek = { version = "=5.0.0-pre.0", default-features = false, features = [
46+
curve25519-dalek = { version = "=5.0.0-pre.1", default-features = false, features = [
4747
"digest",
4848
"rand_core",
4949
] }
50-
x25519-dalek = { version = "=3.0.0-pre.0", default-features = false, features = [
50+
x25519-dalek = { version = "=3.0.0-pre.1", default-features = false, features = [
5151
"static_secrets",
5252
] }
5353
blake2 = "0.11.0-rc.2"

x25519-dalek/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2024"
66
# - update html_root_url
77
# - update CHANGELOG
88
# - if any changes were made to README.md, mirror them in src/lib.rs docs
9-
version = "3.0.0-pre.0"
9+
version = "3.0.0-pre.1"
1010
authors = [
1111
"Isis Lovecruft <[email protected]>",
1212
"DebugSteven <[email protected]>",
@@ -42,7 +42,7 @@ rustdoc-args = [
4242
features = ["os_rng", "reusable_secrets", "serde", "static_secrets"]
4343

4444
[dependencies]
45-
curve25519-dalek = { version = "=5.0.0-pre.0", default-features = false }
45+
curve25519-dalek = { version = "=5.0.0-pre.1", default-features = false }
4646
rand_core = { version = "0.9", default-features = false }
4747
serde = { version = "1", default-features = false, optional = true, features = [
4848
"derive",

0 commit comments

Comments
 (0)