Skip to content

Commit 08534b4

Browse files
authored
Non-Local Dependencies (#6)
try to prevent curve25519-dalek-derive local build on release, and minor crate meta-data fixes
1 parent dff823d commit 08534b4

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

.github/workflows/release-plz.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
uses: dtolnay/rust-toolchain@stable
2323
- name: Run release-plz
2424
uses: MarcoIeni/release-plz-action@v0.5
25-
with:
26-
manifest_path: curve25519-elligator2/Cargo.toml
2725
env:
2826
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2927
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

curve25519-elligator2/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ name = "curve25519-elligator2"
44
# - update CHANGELOG
55
# - update README if required by semver
66
# - if README was updated, also update module documentation in src/lib.rs
7-
version = "0.1.0-alpha.0"
7+
version = "0.1.0-alpha.1"
88
edition = "2021"
99
rust-version = "1.60.0"
1010
authors = ["Isis Lovecruft <isis@patternsinthevoid.net>",
1111
"Henry de Valence <hdevalence@hdevalence.ca>",
1212
"jmwample"]
1313
readme = "README.md"
1414
license = "BSD-3-Clause"
15-
repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek"
16-
homepage = "https://github.com/dalek-cryptography/curve25519-dalek"
17-
documentation = "https://docs.rs/curve25519-dalek"
15+
repository = "https://github.com/jmwample/curve25519-dalek/tree/main/curve25519-elligator2"
16+
homepage = "https://github.com/jmwample/curve25519-dalek"
17+
documentation = "https://docs.rs/curve25519-elligator2"
1818
categories = ["cryptography", "no-std"]
1919
keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"]
2020
description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519"
@@ -55,7 +55,7 @@ ff = { version = "0.13", default-features = false, optional = true }
5555
group = { version = "0.13", default-features = false, optional = true }
5656
rand_core = { version = "0.6.4", default-features = false, optional = true }
5757
digest = { version = "0.10", default-features = false, optional = true }
58-
subtle = { version = "2.3.0", default-features = false }
58+
subtle = { version = "2.6.0", default-features = false }
5959
serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] }
6060
zeroize = { version = "1", default-features = false, optional = true }
6161

@@ -76,4 +76,4 @@ elligator2 = []
7676
digest = ["dep:digest", "elligator2"]
7777

7878
[target.'cfg(all(not(curve25519_dalek_backend = "fiat"), not(curve25519_dalek_backend = "serial"), target_arch = "x86_64"))'.dependencies]
79-
curve25519-dalek-derive = { version = "0.1", path = "../curve25519-dalek-derive" }
79+
curve25519-dalek-derive = { version = "0.1.1" }

curve25519-elligator2/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ use in the interim period. As such, this crate:
1111

1212
# Use
1313

14-
To import `curve25519-dalek`, add the following to the dependencies section of
14+
To import `curve25519-elligator2`, add the following to the dependencies section of
1515
your project's `Cargo.toml`:
1616
```toml
17-
curve25519-elligator2 = "4"
18-
```
19-
20-
If opting into [SemVer-exempted features](#public-api-semver-exemptions) a range
21-
can be used to scope the tested compatible version range e.g.:
22-
```toml
23-
curve25519-elligator2 = ">= 4.0, < 4.2"
17+
curve25519-elligator2 = "0.1.0-alpha.1"
2418
```
2519

2620

0 commit comments

Comments
 (0)