Skip to content

Commit b1e0777

Browse files
authored
Fork group as rustcrypto-group (#2)
Adds a `rustcrypto-*` prefix to the crate name so we can do our own releases, since we're having trouble getting updates merged upstream: zkcrypto#69
1 parent 3cbf67f commit b1e0777

File tree

5 files changed

+26
-22
lines changed

5 files changed

+26
-22
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, windows-latest, macOS-latest]
14+
os: [ ubuntu-latest, windows-latest, macOS-latest ]
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Run tests
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
os: [ubuntu-latest, windows-latest, macOS-latest]
27+
os: [ ubuntu-latest, windows-latest, macOS-latest ]
2828
steps:
2929
- uses: actions/checkout@v4
3030
- uses: dtolnay/rust-toolchain@stable
@@ -66,7 +66,7 @@ jobs:
6666
- name: Add group as a dependency of the synthetic crate
6767
working-directory: ./ci-build
6868
# run: cargo add --no-default-features --path ../crate_root
69-
run: sed -i 's;\[dependencies\];\[dependencies\]\ngroup = { path = "../crate_root", default-features = false };g' ./Cargo.toml
69+
run: sed -i 's;\[dependencies\];\[dependencies\]\nrustcrypto-group = { path = "../crate_root", default-features = false };g' ./Cargo.toml
7070
- name: Add target
7171
working-directory: ./ci-build
7272
run: rustup target add ${{ matrix.target }}

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "group"
3-
version = "0.14.0-pre.0"
2+
name = "rustcrypto-group"
3+
version = "0.14.0-pre"
44
authors = [
55
"Sean Bowe <[email protected]>",
66
"Jack Grigg <[email protected]>",
@@ -11,9 +11,9 @@ readme = "README.md"
1111
license = "MIT/Apache-2.0"
1212

1313
description = "Elliptic curve group traits and utilities"
14-
documentation = "https://docs.rs/group/"
15-
homepage = "https://github.com/zkcrypto/group"
16-
repository = "https://github.com/zkcrypto/group"
14+
documentation = "https://docs.rs/rustcrypto-group/"
15+
homepage = "https://github.com/RustCrypto/group"
16+
repository = "https://github.com/RustCrypto/group"
1717

1818
[dependencies]
1919
ff = { version = "=0.14.0-pre.0", default-features = false }

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# group [![Crates.io](https://img.shields.io/crates/v/group.svg)](https://crates.io/crates/group) #
1+
# [RustCrypto]: group [![Crates.io](https://img.shields.io/crates/v/group.svg)](https://crates.io/crates/group) #
22

33
`group` is a crate for working with groups over elliptic curves.
44

5+
This is a fork of: https://github.com/zkcrypto/group
6+
57
## RFC process
68

79
This crate follows the [zkcrypto RFC process](https://zkcrypto.github.io/rfcs/).
@@ -32,3 +34,5 @@ Unless you explicitly state otherwise, any contribution intentionally
3234
submitted for inclusion in the work by you, as defined in the Apache-2.0
3335
license, shall be dual licensed as above, without any additional terms or
3436
conditions.
37+
38+
[RustCrypto]: https://github.com/rustcrypto/

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub trait GroupEncoding: Sized {
141141
/// The `Default` implementation is not required to return a valid point encoding. The
142142
/// bound is present to enable encodings to be constructed generically:
143143
/// ```
144-
/// # use group::GroupEncoding;
144+
/// # use rustcrypto_group::GroupEncoding;
145145
/// # use subtle::CtOption;
146146
/// # struct G;
147147
/// # impl GroupEncoding for G {

0 commit comments

Comments
 (0)