Skip to content

Commit 5b2f9cb

Browse files
authored
Move async-signature and signature-derive to toplevel (#1391)
These crates were previously nested under `signature/async` and `signature/derive`, which complicates tooling that expects crates to be in toplevel directories, and as things currently stand also meant that releases of the `signature` crate accidentally included stale copies of the other two crates. This commit moves them to toplevel `async-signature` and `signature-derive` directories.
1 parent c4cd5eb commit 5b2f9cb

File tree

17 files changed

+15
-9
lines changed

17 files changed

+15
-9
lines changed

.github/workflows/async-signature.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: async-signature
33
on:
44
pull_request:
55
paths:
6+
- "async-signature/**"
67
- "signature/**"
78
- "Cargo.*"
89
push:
910
branches: master
1011

1112
defaults:
1213
run:
13-
working-directory: signature/async
14+
working-directory: async-signature
1415

1516
env:
1617
CARGO_INCREMENTAL: 0
@@ -43,5 +44,5 @@ jobs:
4344
- run: cargo update -Z minimal-versions
4445
- uses: dtolnay/rust-toolchain@stable
4546
- uses: RustCrypto/actions/cargo-hack-install@master
46-
- run: rm ../../Cargo.toml
47+
- run: rm ../Cargo.toml
4748
- run: cargo hack test --release --feature-powerset

.github/workflows/signature.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- "signature/**"
7+
- "signature-derive/**"
78
- "Cargo.*"
89
push:
910
branches: master
@@ -78,7 +79,7 @@ jobs:
7879
with:
7980
toolchain: ${{ matrix.rust }}
8081
- run: cargo test --release
81-
working-directory: signature/derive
82+
working-directory: signature-derive
8283

8384
doc:
8485
runs-on: ubuntu-latest

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
resolver = "2"
33
members = [
44
"aead",
5+
"async-signature",
56
"cipher",
67
"crypto",
78
"crypto-common",
@@ -10,7 +11,7 @@ members = [
1011
"kem",
1112
"password-hash",
1213
"signature",
13-
"signature/async",
14+
"signature-derive",
1415
"universal-hash",
1516
]
1617

File renamed without changes.

signature/async/Cargo.toml renamed to async-signature/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "0.4.0-pre"
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"
77
documentation = "https://docs.rs/async-signature"
8-
repository = "https://github.com/RustCrypto/traits/tree/master/signature/async"
8+
repository = "https://github.com/RustCrypto/traits/tree/master/async-signature"
99
readme = "README.md"
1010
keywords = ["crypto", "ecdsa", "ed25519", "signature", "signing"]
1111
categories = ["cryptography", "no-std"]
@@ -14,7 +14,7 @@ rust-version = "1.60"
1414

1515
[dependencies]
1616
async-trait = "0.1.9"
17-
signature = { version = "=2.2.0-pre", path = ".." }
17+
signature = ">= 2.0, <2.3"
1818

1919
[features]
2020
digest = ["signature/digest"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)