From 08534b47e56e549496db82c2962ddc09fd1f3b9b Mon Sep 17 00:00:00 2001 From: Jack Wampler Date: Wed, 26 Jun 2024 16:44:44 -0600 Subject: [PATCH] Non-Local Dependencies (#6) try to prevent curve25519-dalek-derive local build on release, and minor crate meta-data fixes --- .github/workflows/release-plz.yml | 2 -- curve25519-elligator2/Cargo.toml | 12 ++++++------ curve25519-elligator2/README.md | 10 ++-------- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index d83b0d74..cc5bc4ff 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -22,8 +22,6 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Run release-plz uses: MarcoIeni/release-plz-action@v0.5 - with: - manifest_path: curve25519-elligator2/Cargo.toml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/curve25519-elligator2/Cargo.toml b/curve25519-elligator2/Cargo.toml index e848807e..242facd0 100644 --- a/curve25519-elligator2/Cargo.toml +++ b/curve25519-elligator2/Cargo.toml @@ -4,7 +4,7 @@ name = "curve25519-elligator2" # - update CHANGELOG # - update README if required by semver # - if README was updated, also update module documentation in src/lib.rs -version = "0.1.0-alpha.0" +version = "0.1.0-alpha.1" edition = "2021" rust-version = "1.60.0" authors = ["Isis Lovecruft ", @@ -12,9 +12,9 @@ authors = ["Isis Lovecruft ", "jmwample"] readme = "README.md" license = "BSD-3-Clause" -repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek" -homepage = "https://github.com/dalek-cryptography/curve25519-dalek" -documentation = "https://docs.rs/curve25519-dalek" +repository = "https://github.com/jmwample/curve25519-dalek/tree/main/curve25519-elligator2" +homepage = "https://github.com/jmwample/curve25519-dalek" +documentation = "https://docs.rs/curve25519-elligator2" categories = ["cryptography", "no-std"] keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"] 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 } group = { version = "0.13", default-features = false, optional = true } rand_core = { version = "0.6.4", default-features = false, optional = true } digest = { version = "0.10", default-features = false, optional = true } -subtle = { version = "2.3.0", default-features = false } +subtle = { version = "2.6.0", default-features = false } serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] } zeroize = { version = "1", default-features = false, optional = true } @@ -76,4 +76,4 @@ elligator2 = [] digest = ["dep:digest", "elligator2"] [target.'cfg(all(not(curve25519_dalek_backend = "fiat"), not(curve25519_dalek_backend = "serial"), target_arch = "x86_64"))'.dependencies] -curve25519-dalek-derive = { version = "0.1", path = "../curve25519-dalek-derive" } +curve25519-dalek-derive = { version = "0.1.1" } diff --git a/curve25519-elligator2/README.md b/curve25519-elligator2/README.md index 970baa22..6d315c56 100644 --- a/curve25519-elligator2/README.md +++ b/curve25519-elligator2/README.md @@ -11,16 +11,10 @@ use in the interim period. As such, this crate: # Use -To import `curve25519-dalek`, add the following to the dependencies section of +To import `curve25519-elligator2`, add the following to the dependencies section of your project's `Cargo.toml`: ```toml -curve25519-elligator2 = "4" -``` - -If opting into [SemVer-exempted features](#public-api-semver-exemptions) a range -can be used to scope the tested compatible version range e.g.: -```toml -curve25519-elligator2 = ">= 4.0, < 4.2" +curve25519-elligator2 = "0.1.0-alpha.1" ```