Skip to content

Commit ba6ac7a

Browse files
committed
Rename ristretto_* crate features to ristretto-* for consistency
1 parent 0bc8fbe commit ba6ac7a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
backend_feature:
38-
- --features ristretto255-ciphersuite,ristretto255_u64
39-
- --features ristretto255-ciphersuite,ristretto255_u32
38+
- --features ristretto255-ciphersuite,ristretto255-u64
39+
- --features ristretto255-ciphersuite,ristretto255-u32
4040
-
4141
frontend_feature:
4242
-
@@ -88,8 +88,8 @@ jobs:
8888
- thumbv6m-none-eabi
8989
backend_feature:
9090
-
91-
- --features ristretto255-ciphersuite,ristretto255_u64
92-
- --features ristretto255-ciphersuite,ristretto255_u32
91+
- --features ristretto255-ciphersuite,ristretto255-u64
92+
- --features ristretto255-ciphersuite,ristretto255-u32
9393
frontend_feature:
9494
-
9595
- --features danger

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ version = "0.3.0"
1414
[features]
1515
alloc = []
1616
danger = []
17-
default = ["ristretto255-ciphersuite", "ristretto255_u64", "serde"]
17+
default = ["ristretto255-ciphersuite", "ristretto255-u64", "serde"]
1818
ristretto255 = ["generic-array/more_lengths"]
1919
ristretto255-ciphersuite = ["ristretto255", "sha2"]
20-
ristretto255_fiat_u32 = ["curve25519-dalek/fiat_u32_backend", "ristretto255"]
21-
ristretto255_fiat_u64 = ["curve25519-dalek/fiat_u64_backend", "ristretto255"]
22-
ristretto255_simd = ["curve25519-dalek/simd_backend", "ristretto255"]
23-
ristretto255_u32 = ["curve25519-dalek/u32_backend", "ristretto255"]
24-
ristretto255_u64 = ["curve25519-dalek/u64_backend", "ristretto255"]
20+
ristretto255-fiat-u32 = ["curve25519-dalek/fiat_u32_backend", "ristretto255"]
21+
ristretto255-fiat-u64 = ["curve25519-dalek/fiat_u64_backend", "ristretto255"]
22+
ristretto255-simd = ["curve25519-dalek/simd_backend", "ristretto255"]
23+
ristretto255-u32 = ["curve25519-dalek/u32_backend", "ristretto255"]
24+
ristretto255-u64 = ["curve25519-dalek/u64_backend", "ristretto255"]
2525
std = ["alloc"]
2626

2727
[dependencies]

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,14 @@
474474
//! underlying group for the [Group] choice. A backend feature, which are
475475
//! re-exported from [curve25519-dalek] and allow for selecting the
476476
//! corresponding backend for the curve arithmetic used, has to be selected,
477-
//! otherwise compilation will fail. The `ristretto255_u64` feature is
478-
//! included as the default. Other features are mapped as `ristretto255_u32`,
479-
//! `ristretto255_fiat_u64` and `ristretto255_fiat_u32`. Any `ristretto255_*`
477+
//! otherwise compilation will fail. The `ristretto255-u64` feature is
478+
//! included as the default. Other features are mapped as `ristretto255-u32`,
479+
//! `ristretto255-fiat-u64` and `ristretto255-fiat-u32`. Any `ristretto255-*`
480480
//! backend feature will enable the `ristretto255` feature.
481481
//!
482-
//! - The `ristretto255_simd` feature is re-exported from [curve25519-dalek] and
482+
//! - The `ristretto255-simd` feature is re-exported from [curve25519-dalek] and
483483
//! enables parallel formulas, using either AVX2 or AVX512-IFMA. This will
484-
//! automatically enable the `ristretto255_u64` feature and requires Rust
484+
//! automatically enable the `ristretto255-u64` feature and requires Rust
485485
//! nightly.
486486
//!
487487
//! [curve25519-dalek]: (https://doc.dalek.rs/curve25519_dalek/index.html#backends-and-features)

0 commit comments

Comments
 (0)