Skip to content

Commit

Permalink
Non-Local Dependencies (#6)
Browse files Browse the repository at this point in the history
try to prevent curve25519-dalek-derive local build on release, and minor crate meta-data fixes
  • Loading branch information
jmwample authored Jun 26, 2024
1 parent dff823d commit 08534b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
12 changes: 6 additions & 6 deletions curve25519-elligator2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ 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 <isis@patternsinthevoid.net>",
"Henry de Valence <hdevalence@hdevalence.ca>",
"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"
Expand Down Expand Up @@ -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 }

Expand All @@ -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" }
10 changes: 2 additions & 8 deletions curve25519-elligator2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```


Expand Down

0 comments on commit 08534b4

Please sign in to comment.