From fc8a8a5276fa2ea4f417aeeadc2f1b3bfa382487 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg Date: Wed, 9 Jul 2025 13:04:17 -0400 Subject: [PATCH] Cut pre.0 prereleases (#784) --- curve25519-dalek/CHANGELOG.md | 3 +-- curve25519-dalek/Cargo.toml | 39 +++++++++++++++++++++++------------ curve25519-dalek/README.md | 2 +- ed25519-dalek/CHANGELOG.md | 2 +- ed25519-dalek/Cargo.toml | 33 +++++++++++++++++++++-------- ed25519-dalek/README.md | 2 +- x25519-dalek/CHANGELOG.md | 7 +++---- x25519-dalek/Cargo.toml | 30 ++++++++++++++++----------- x25519-dalek/README.md | 2 +- 9 files changed, 76 insertions(+), 44 deletions(-) diff --git a/curve25519-dalek/CHANGELOG.md b/curve25519-dalek/CHANGELOG.md index 11ca513..186aa1a 100644 --- a/curve25519-dalek/CHANGELOG.md +++ b/curve25519-dalek/CHANGELOG.md @@ -5,7 +5,7 @@ major series. ## 5.x series -## 5.0.0-pre +## 5.0.0-pre.0 * Update edition to 2024 * Update the MSRV from 1.60 to 1.85 @@ -284,4 +284,3 @@ besides the `rand_core` version bump, there are no other user-visible changes. ### 1.0.0 Initial stable release. Yanked due to a dependency mistake (see above). - diff --git a/curve25519-dalek/Cargo.toml b/curve25519-dalek/Cargo.toml index 736be7b..46e6ca5 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -4,11 +4,13 @@ name = "curve25519-dalek" # - update CHANGELOG # - update README if required by semver # - if README was updated, also update module documentation in src/lib.rs -version = "5.0.0-pre" +version = "5.0.0-pre.0" edition = "2024" rust-version = "1.85.0" -authors = ["Isis Lovecruft ", - "Henry de Valence "] +authors = [ + "Isis Lovecruft ", + "Henry de Valence ", +] readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek" @@ -17,17 +19,22 @@ documentation = "https://docs.rs/curve25519-dalek" categories = ["cryptography", "no-std"] keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"] description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519" -exclude = [ - "**/.gitignore", - ".gitignore", -] +exclude = ["**/.gitignore", ".gitignore"] [package.metadata.docs.rs] rustdoc-args = [ - "--html-in-header", "docs/assets/rustdoc-include-katex-header.html", - "--cfg", "docsrs", + "--html-in-header", + "docs/assets/rustdoc-include-katex-header.html", + "--cfg", + "docsrs", +] +features = [ + "serde", + "rand_core", + "digest", + "legacy_compatibility", + "group-bits", ] -features = ["serde", "rand_core", "digest", "legacy_compatibility", "group-bits"] [dev-dependencies] sha2 = { version = "0.11.0-rc.0", default-features = false } @@ -50,9 +57,15 @@ cfg-if = "1" ff = { version = "=0.14.0-pre.0", default-features = false, optional = true } group = { version = "=0.14.0-pre.0", default-features = false, optional = true } rand_core = { version = "0.9", default-features = false, optional = true } -digest = { version = "0.11.0-rc.0", default-features = false, optional = true, features = ["block-api"] } -subtle = { version = "2.6.0", default-features = false, features = ["const-generics"] } -serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] } +digest = { version = "0.11.0-rc.0", default-features = false, optional = true, features = [ + "block-api", +] } +subtle = { version = "2.6.0", default-features = false, features = [ + "const-generics", +] } +serde = { version = "1.0", default-features = false, optional = true, features = [ + "derive", +] } zeroize = { version = "1", default-features = false, optional = true } [target.'cfg(target_arch = "x86_64")'.dependencies] diff --git a/curve25519-dalek/README.md b/curve25519-dalek/README.md index 9abc41b..1316dba 100644 --- a/curve25519-dalek/README.md +++ b/curve25519-dalek/README.md @@ -35,7 +35,7 @@ cofactor-related abstraction mismatches. To import `curve25519-dalek`, add the following to the dependencies section of your project's `Cargo.toml`: ```toml -curve25519-dalek = "5.0.0-pre" +curve25519-dalek = "5.0.0-pre.0" ``` If opting into [SemVer-exempted features](#public-api-semver-exemptions) a range diff --git a/ed25519-dalek/CHANGELOG.md b/ed25519-dalek/CHANGELOG.md index a8d7beb..813e1d5 100644 --- a/ed25519-dalek/CHANGELOG.md +++ b/ed25519-dalek/CHANGELOG.md @@ -8,7 +8,7 @@ Entries are listed in reverse chronological order per undeprecated major series. # 3.x series -## 3.0.0-pre +## 3.0.0-pre.0 * Update edition to 2024 * Update the MSRV from 1.60 to 1.85 diff --git a/ed25519-dalek/Cargo.toml b/ed25519-dalek/Cargo.toml index e4075eb..ef4810d 100644 --- a/ed25519-dalek/Cargo.toml +++ b/ed25519-dalek/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "ed25519-dalek" -version = "3.0.0-pre" +version = "3.0.0-pre.0" edition = "2024" authors = [ "isis lovecruft ", "Tony Arcieri ", - "Michael Rosenberg " + "Michael Rosenberg ", ] readme = "README.md" license = "BSD-3-Clause" @@ -15,18 +15,22 @@ documentation = "https://docs.rs/ed25519-dalek" keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"] categories = ["cryptography", "no-std"] description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust." -exclude = [ ".gitignore", "TESTVECTORS", "VALIDATIONVECTORS", "res/*" ] +exclude = [".gitignore", "TESTVECTORS", "VALIDATIONVECTORS", "res/*"] rust-version = "1.85" [package.metadata.docs.rs] rustdoc-args = [ - "--html-in-header", "docs/assets/rustdoc-include-katex-header.html", - "--cfg", "docsrs", + "--html-in-header", + "docs/assets/rustdoc-include-katex-header.html", + "--cfg", + "docsrs", ] features = ["batch", "digest", "hazmat", "pem", "serde"] [dependencies] -curve25519-dalek = { version = "=5.0.0-pre", path = "../curve25519-dalek", default-features = false, features = ["digest"] } +curve25519-dalek = { version = "=5.0.0-pre.0", path = "../curve25519-dalek", default-features = false, features = [ + "digest", +] } ed25519 = { version = "=3.0.0-pre.0", default-features = false } signature = { version = "=3.0.0-rc.1", optional = true, default-features = false } sha2 = { version = "0.11.0-rc.0", default-features = false } @@ -39,8 +43,13 @@ serde = { version = "1.0", default-features = false, optional = true } zeroize = { version = "1.5", default-features = false, optional = true } [dev-dependencies] -curve25519-dalek = { version = "=5.0.0-pre", path = "../curve25519-dalek", default-features = false, features = ["digest", "rand_core"] } -x25519-dalek = { version = "=3.0.0-pre", path = "../x25519-dalek", default-features = false, features = ["static_secrets"] } +curve25519-dalek = { version = "=5.0.0-pre.0", path = "../curve25519-dalek", default-features = false, features = [ + "digest", + "rand_core", +] } +x25519-dalek = { version = "=3.0.0-pre.0", path = "../x25519-dalek", default-features = false, features = [ + "static_secrets", +] } blake2 = "0.11.0-rc.0" sha3 = "0.11.0-rc.0" hex = "0.4" @@ -62,7 +71,13 @@ required-features = ["rand_core"] [features] default = ["fast", "zeroize"] -alloc = ["curve25519-dalek/alloc", "ed25519/alloc", "signature/alloc", "serde?/alloc", "zeroize?/alloc"] +alloc = [ + "curve25519-dalek/alloc", + "ed25519/alloc", + "signature/alloc", + "serde?/alloc", + "zeroize?/alloc", +] batch = ["alloc", "dep:keccak", "rand_core"] fast = ["curve25519-dalek/precomputed-tables"] diff --git a/ed25519-dalek/README.md b/ed25519-dalek/README.md index 4f236c1..da29362 100644 --- a/ed25519-dalek/README.md +++ b/ed25519-dalek/README.md @@ -8,7 +8,7 @@ verification. To import `ed25519-dalek`, add the following to the dependencies section of your project's `Cargo.toml`: ```toml -ed25519-dalek = "3.0.0-pre" +ed25519-dalek = "3.0.0-pre.0" ``` # Feature Flags diff --git a/x25519-dalek/CHANGELOG.md b/x25519-dalek/CHANGELOG.md index 8d87947..abb79a2 100644 --- a/x25519-dalek/CHANGELOG.md +++ b/x25519-dalek/CHANGELOG.md @@ -4,7 +4,7 @@ Entries are listed in reverse chronological order. # 3.x Series -## 3.0.0-pre +## 3.0.0-pre.0 * Update edition to 2024 * Update the MSRV from 1.60 to 1.85 @@ -14,7 +14,7 @@ Entries are listed in reverse chronological order. # 2.x Series -* Note: All `x255919-dalek` 2.x releases are in sync with the underlying `curve25519-dalek` 4.x releases. +* Note: All `x255919-dalek` 2.x releases are in sync with the underlying `curve25519-dalek` 4.x releases. ## 2.0.1 @@ -108,5 +108,4 @@ Entries are listed in reverse chronological order. * Adds support for static and ephemeral keys. -[curve25519-dalek backend]: https://github.com/dalek-cryptography/curve25519-dalek/#backends - +[curve25519-dalek backend]: https://github.com/dalek-cryptography/curve25519-dalek/#backends diff --git a/x25519-dalek/Cargo.toml b/x25519-dalek/Cargo.toml index cd90109..151b720 100644 --- a/x25519-dalek/Cargo.toml +++ b/x25519-dalek/Cargo.toml @@ -6,7 +6,7 @@ edition = "2024" # - update html_root_url # - update CHANGELOG # - if any changes were made to README.md, mirror them in src/lib.rs docs -version = "3.0.0-pre" +version = "3.0.0-pre.0" authors = [ "Isis Lovecruft ", "DebugSteven ", @@ -18,29 +18,35 @@ repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/x homepage = "https://github.com/dalek-cryptography/curve25519-dalek" documentation = "https://docs.rs/x25519-dalek" categories = ["cryptography", "no-std"] -keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"] -description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek." -exclude = [ - ".gitignore", - ".travis.yml", - "CONTRIBUTING.md", +keywords = [ + "cryptography", + "curve25519", + "key-exchange", + "x25519", + "diffie-hellman", ] +description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek." +exclude = [".gitignore", ".travis.yml", "CONTRIBUTING.md"] rust-version = "1.85" [badges] -travis-ci = { repository = "dalek-cryptography/x25519-dalek", branch = "master"} +travis-ci = { repository = "dalek-cryptography/x25519-dalek", branch = "master" } [package.metadata.docs.rs] rustdoc-args = [ - "--html-in-header", "docs/assets/rustdoc-include-katex-header.html", - "--cfg", "docsrs", + "--html-in-header", + "docs/assets/rustdoc-include-katex-header.html", + "--cfg", + "docsrs", ] features = ["os_rng", "reusable_secrets", "serde", "static_secrets"] [dependencies] -curve25519-dalek = { version = "=5.0.0-pre", path = "../curve25519-dalek", default-features = false } +curve25519-dalek = { version = "=5.0.0-pre.0", path = "../curve25519-dalek", default-features = false } rand_core = { version = "0.9", default-features = false } -serde = { version = "1", default-features = false, optional = true, features = ["derive"] } +serde = { version = "1", default-features = false, optional = true, features = [ + "derive", +] } zeroize = { version = "1", default-features = false, optional = true } [dev-dependencies] diff --git a/x25519-dalek/README.md b/x25519-dalek/README.md index a861f10..392f99b 100644 --- a/x25519-dalek/README.md +++ b/x25519-dalek/README.md @@ -103,7 +103,7 @@ To install, add the following to your project's `Cargo.toml`: ```toml [dependencies] -x25519-dalek = "3.0.0-pre" +x25519-dalek = "3.0.0-pre.0" ``` # MSRV