Cut pre.0 prereleases (#784)

This commit is contained in:
Michael Rosenberg 2025-07-09 13:04:17 -04:00 committed by GitHub
parent 6a515e60a8
commit fc8a8a5276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 76 additions and 44 deletions

View file

@ -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).

View file

@ -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 <isis@patternsinthevoid.net>",
"Henry de Valence <hdevalence@hdevalence.ca>"]
authors = [
"Isis Lovecruft <isis@patternsinthevoid.net>",
"Henry de Valence <hdevalence@hdevalence.ca>",
]
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]

View file

@ -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

View file

@ -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

View file

@ -1,11 +1,11 @@
[package]
name = "ed25519-dalek"
version = "3.0.0-pre"
version = "3.0.0-pre.0"
edition = "2024"
authors = [
"isis lovecruft <isis@patternsinthevoid.net>",
"Tony Arcieri <bascule@gmail.com>",
"Michael Rosenberg <michael@mrosenberg.pub>"
"Michael Rosenberg <michael@mrosenberg.pub>",
]
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"]

View file

@ -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

View file

@ -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

View file

@ -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 <isis@patternsinthevoid.net>",
"DebugSteven <debugsteven@gmail.com>",
@ -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]

View file

@ -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