diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39f9e7b..e3c5b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ ubuntu-latest, windows-latest, macOS-latest ] steps: - uses: actions/checkout@v4 - name: Run tests @@ -24,7 +24,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ ubuntu-latest, windows-latest, macOS-latest ] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -66,7 +66,7 @@ jobs: - name: Add group as a dependency of the synthetic crate working-directory: ./ci-build # run: cargo add --no-default-features --path ../crate_root - run: sed -i 's;\[dependencies\];\[dependencies\]\ngroup = { path = "../crate_root", default-features = false };g' ./Cargo.toml + run: sed -i 's;\[dependencies\];\[dependencies\]\nrustcrypto-group = { path = "../crate_root", default-features = false };g' ./Cargo.toml - name: Add target working-directory: ./ci-build run: rustup target add ${{ matrix.target }} diff --git a/Cargo.lock b/Cargo.lock index cffd341..195723b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,18 +12,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "group" -version = "0.14.0-pre.0" -dependencies = [ - "ff", - "memuse", - "rand", - "rand_core", - "rand_xorshift", - "subtle", -] - [[package]] name = "memuse" version = "0.2.2" @@ -73,6 +61,18 @@ dependencies = [ "rand_core", ] +[[package]] +name = "rustcrypto-group" +version = "0.14.0-pre" +dependencies = [ + "ff", + "memuse", + "rand", + "rand_core", + "rand_xorshift", + "subtle", +] + [[package]] name = "subtle" version = "2.6.1" diff --git a/Cargo.toml b/Cargo.toml index a153e74..b954b3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "group" -version = "0.14.0-pre.0" +name = "rustcrypto-group" +version = "0.14.0-pre" authors = [ "Sean Bowe ", "Jack Grigg ", @@ -11,9 +11,9 @@ readme = "README.md" license = "MIT/Apache-2.0" description = "Elliptic curve group traits and utilities" -documentation = "https://docs.rs/group/" -homepage = "https://github.com/zkcrypto/group" -repository = "https://github.com/zkcrypto/group" +documentation = "https://docs.rs/rustcrypto-group/" +homepage = "https://github.com/RustCrypto/group" +repository = "https://github.com/RustCrypto/group" [dependencies] ff = { version = "=0.14.0-pre.0", default-features = false } diff --git a/README.md b/README.md index efff81c..1c4c3cc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -# group [![Crates.io](https://img.shields.io/crates/v/group.svg)](https://crates.io/crates/group) # +# [RustCrypto]: group [![Crates.io](https://img.shields.io/crates/v/group.svg)](https://crates.io/crates/group) # `group` is a crate for working with groups over elliptic curves. +This is a fork of: https://github.com/zkcrypto/group + ## RFC process This crate follows the [zkcrypto RFC process](https://zkcrypto.github.io/rfcs/). @@ -32,3 +34,5 @@ Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. + +[RustCrypto]: https://github.com/rustcrypto/ diff --git a/src/lib.rs b/src/lib.rs index cd3cf5e..0217640 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,7 +141,7 @@ pub trait GroupEncoding: Sized { /// The `Default` implementation is not required to return a valid point encoding. The /// bound is present to enable encodings to be constructed generically: /// ``` - /// # use group::GroupEncoding; + /// # use rustcrypto_group::GroupEncoding; /// # use subtle::CtOption; /// # struct G; /// # impl GroupEncoding for G {