Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move async-signature and signature-derive to toplevel #1391

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/async-signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ name: async-signature
on:
pull_request:
paths:
- "async-signature/**"
- "signature/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: signature/async
working-directory: async-signature

env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -43,5 +44,5 @@ jobs:
- run: cargo update -Z minimal-versions
- uses: dtolnay/rust-toolchain@stable
- uses: RustCrypto/actions/cargo-hack-install@master
- run: rm ../../Cargo.toml
- run: rm ../Cargo.toml
- run: cargo hack test --release --feature-powerset
3 changes: 2 additions & 1 deletion .github/workflows/signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "signature/**"
- "signature-derive/**"
- "Cargo.*"
push:
branches: master
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --release
working-directory: signature/derive
working-directory: signature-derive

doc:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
resolver = "2"
members = [
"aead",
"async-signature",
"cipher",
"crypto",
"crypto-common",
Expand All @@ -10,7 +11,7 @@ members = [
"kem",
"password-hash",
"signature",
"signature/async",
"signature-derive",
"universal-hash",
]

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions signature/async/Cargo.toml → async-signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.4.0-pre"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/async-signature"
repository = "https://github.com/RustCrypto/traits/tree/master/signature/async"
repository = "https://github.com/RustCrypto/traits/tree/master/async-signature"
readme = "README.md"
keywords = ["crypto", "ecdsa", "ed25519", "signature", "signing"]
categories = ["cryptography", "no-std"]
Expand All @@ -14,7 +14,7 @@ rust-version = "1.60"

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

[features]
digest = ["signature/digest"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = "Custom derive support for the 'signature' crate"
documentation = "https://docs.rs/signature"
repository = "https://github.com/RustCrypto/traits/tree/master/signature/derive"
repository = "https://github.com/RustCrypto/traits/tree/master/signature-derive"
readme = "README.md"
edition = "2021"
rust-version = "1.56"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2021"
rust-version = "1.60"

[dependencies]
derive = { package = "signature_derive", version = "2", optional = true, path = "derive" }
derive = { package = "signature_derive", version = "2", optional = true, path = "../signature-derive" }
digest = { version = "0.10.6", optional = true, default-features = false }
rand_core = { version = "0.6.4", optional = true, default-features = false }

Expand Down
Loading