mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Cut pre.0 prereleases (#784)
This commit is contained in:
parent
6a515e60a8
commit
fc8a8a5276
9 changed files with 76 additions and 44 deletions
|
|
@ -5,7 +5,7 @@ major series.
|
||||||
|
|
||||||
## 5.x series
|
## 5.x series
|
||||||
|
|
||||||
## 5.0.0-pre
|
## 5.0.0-pre.0
|
||||||
|
|
||||||
* Update edition to 2024
|
* Update edition to 2024
|
||||||
* Update the MSRV from 1.60 to 1.85
|
* 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
|
### 1.0.0
|
||||||
|
|
||||||
Initial stable release. Yanked due to a dependency mistake (see above).
|
Initial stable release. Yanked due to a dependency mistake (see above).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,13 @@ name = "curve25519-dalek"
|
||||||
# - update CHANGELOG
|
# - update CHANGELOG
|
||||||
# - update README if required by semver
|
# - update README if required by semver
|
||||||
# - if README was updated, also update module documentation in src/lib.rs
|
# - 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"
|
edition = "2024"
|
||||||
rust-version = "1.85.0"
|
rust-version = "1.85.0"
|
||||||
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
|
authors = [
|
||||||
"Henry de Valence <hdevalence@hdevalence.ca>"]
|
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
||||||
|
"Henry de Valence <hdevalence@hdevalence.ca>",
|
||||||
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek"
|
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"]
|
categories = ["cryptography", "no-std"]
|
||||||
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
|
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
|
||||||
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
|
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
|
||||||
exclude = [
|
exclude = ["**/.gitignore", ".gitignore"]
|
||||||
"**/.gitignore",
|
|
||||||
".gitignore",
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
rustdoc-args = [
|
rustdoc-args = [
|
||||||
"--html-in-header", "docs/assets/rustdoc-include-katex-header.html",
|
"--html-in-header",
|
||||||
"--cfg", "docsrs",
|
"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]
|
[dev-dependencies]
|
||||||
sha2 = { version = "0.11.0-rc.0", default-features = false }
|
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 }
|
ff = { version = "=0.14.0-pre.0", default-features = false, optional = true }
|
||||||
group = { 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 }
|
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"] }
|
digest = { version = "0.11.0-rc.0", default-features = false, optional = true, features = [
|
||||||
subtle = { version = "2.6.0", default-features = false, features = ["const-generics"] }
|
"block-api",
|
||||||
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
|
] }
|
||||||
|
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 }
|
zeroize = { version = "1", default-features = false, optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ cofactor-related abstraction mismatches.
|
||||||
To import `curve25519-dalek`, add the following to the dependencies section of
|
To import `curve25519-dalek`, add the following to the dependencies section of
|
||||||
your project's `Cargo.toml`:
|
your project's `Cargo.toml`:
|
||||||
```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
|
If opting into [SemVer-exempted features](#public-api-semver-exemptions) a range
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ Entries are listed in reverse chronological order per undeprecated major series.
|
||||||
|
|
||||||
# 3.x series
|
# 3.x series
|
||||||
|
|
||||||
## 3.0.0-pre
|
## 3.0.0-pre.0
|
||||||
|
|
||||||
* Update edition to 2024
|
* Update edition to 2024
|
||||||
* Update the MSRV from 1.60 to 1.85
|
* Update the MSRV from 1.60 to 1.85
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ed25519-dalek"
|
name = "ed25519-dalek"
|
||||||
version = "3.0.0-pre"
|
version = "3.0.0-pre.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
authors = [
|
authors = [
|
||||||
"isis lovecruft <isis@patternsinthevoid.net>",
|
"isis lovecruft <isis@patternsinthevoid.net>",
|
||||||
"Tony Arcieri <bascule@gmail.com>",
|
"Tony Arcieri <bascule@gmail.com>",
|
||||||
"Michael Rosenberg <michael@mrosenberg.pub>"
|
"Michael Rosenberg <michael@mrosenberg.pub>",
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
|
|
@ -15,18 +15,22 @@ documentation = "https://docs.rs/ed25519-dalek"
|
||||||
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
|
keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"]
|
||||||
categories = ["cryptography", "no-std"]
|
categories = ["cryptography", "no-std"]
|
||||||
description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust."
|
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"
|
rust-version = "1.85"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
rustdoc-args = [
|
rustdoc-args = [
|
||||||
"--html-in-header", "docs/assets/rustdoc-include-katex-header.html",
|
"--html-in-header",
|
||||||
"--cfg", "docsrs",
|
"docs/assets/rustdoc-include-katex-header.html",
|
||||||
|
"--cfg",
|
||||||
|
"docsrs",
|
||||||
]
|
]
|
||||||
features = ["batch", "digest", "hazmat", "pem", "serde"]
|
features = ["batch", "digest", "hazmat", "pem", "serde"]
|
||||||
|
|
||||||
[dependencies]
|
[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 }
|
ed25519 = { version = "=3.0.0-pre.0", default-features = false }
|
||||||
signature = { version = "=3.0.0-rc.1", optional = true, 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 }
|
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 }
|
zeroize = { version = "1.5", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
curve25519-dalek = { version = "=5.0.0-pre", path = "../curve25519-dalek", default-features = false, features = ["digest", "rand_core"] }
|
curve25519-dalek = { version = "=5.0.0-pre.0", path = "../curve25519-dalek", default-features = false, features = [
|
||||||
x25519-dalek = { version = "=3.0.0-pre", path = "../x25519-dalek", default-features = false, features = ["static_secrets"] }
|
"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"
|
blake2 = "0.11.0-rc.0"
|
||||||
sha3 = "0.11.0-rc.0"
|
sha3 = "0.11.0-rc.0"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
|
|
@ -62,7 +71,13 @@ required-features = ["rand_core"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["fast", "zeroize"]
|
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"]
|
batch = ["alloc", "dep:keccak", "rand_core"]
|
||||||
fast = ["curve25519-dalek/precomputed-tables"]
|
fast = ["curve25519-dalek/precomputed-tables"]
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ verification.
|
||||||
To import `ed25519-dalek`, add the following to the dependencies section of
|
To import `ed25519-dalek`, add the following to the dependencies section of
|
||||||
your project's `Cargo.toml`:
|
your project's `Cargo.toml`:
|
||||||
```toml
|
```toml
|
||||||
ed25519-dalek = "3.0.0-pre"
|
ed25519-dalek = "3.0.0-pre.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Feature Flags
|
# Feature Flags
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ Entries are listed in reverse chronological order.
|
||||||
|
|
||||||
# 3.x Series
|
# 3.x Series
|
||||||
|
|
||||||
## 3.0.0-pre
|
## 3.0.0-pre.0
|
||||||
|
|
||||||
* Update edition to 2024
|
* Update edition to 2024
|
||||||
* Update the MSRV from 1.60 to 1.85
|
* Update the MSRV from 1.60 to 1.85
|
||||||
|
|
@ -109,4 +109,3 @@ Entries are listed in reverse chronological order.
|
||||||
* Adds support for static and ephemeral keys.
|
* 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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ edition = "2024"
|
||||||
# - update html_root_url
|
# - update html_root_url
|
||||||
# - update CHANGELOG
|
# - update CHANGELOG
|
||||||
# - if any changes were made to README.md, mirror them in src/lib.rs docs
|
# - 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 = [
|
authors = [
|
||||||
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
"Isis Lovecruft <isis@patternsinthevoid.net>",
|
||||||
"DebugSteven <debugsteven@gmail.com>",
|
"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"
|
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
|
||||||
documentation = "https://docs.rs/x25519-dalek"
|
documentation = "https://docs.rs/x25519-dalek"
|
||||||
categories = ["cryptography", "no-std"]
|
categories = ["cryptography", "no-std"]
|
||||||
keywords = ["cryptography", "curve25519", "key-exchange", "x25519", "diffie-hellman"]
|
keywords = [
|
||||||
description = "X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek."
|
"cryptography",
|
||||||
exclude = [
|
"curve25519",
|
||||||
".gitignore",
|
"key-exchange",
|
||||||
".travis.yml",
|
"x25519",
|
||||||
"CONTRIBUTING.md",
|
"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"
|
rust-version = "1.85"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
travis-ci = { repository = "dalek-cryptography/x25519-dalek", branch = "master"}
|
travis-ci = { repository = "dalek-cryptography/x25519-dalek", branch = "master" }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
rustdoc-args = [
|
rustdoc-args = [
|
||||||
"--html-in-header", "docs/assets/rustdoc-include-katex-header.html",
|
"--html-in-header",
|
||||||
"--cfg", "docsrs",
|
"docs/assets/rustdoc-include-katex-header.html",
|
||||||
|
"--cfg",
|
||||||
|
"docsrs",
|
||||||
]
|
]
|
||||||
features = ["os_rng", "reusable_secrets", "serde", "static_secrets"]
|
features = ["os_rng", "reusable_secrets", "serde", "static_secrets"]
|
||||||
|
|
||||||
[dependencies]
|
[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 }
|
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 }
|
zeroize = { version = "1", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ To install, add the following to your project's `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
x25519-dalek = "3.0.0-pre"
|
x25519-dalek = "3.0.0-pre.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
# MSRV
|
# MSRV
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue