Skip to content

Commit

Permalink
Exclude pre-1.60 crates from workspace (#1380)
Browse files Browse the repository at this point in the history
Pre-1.60 crates can't be used in workspaces with other crates that use
namespaced/weak features.

This commit places all MSRV 1.60+ crates into `members` and moves the
ones with earlier MSRVs into `exclude`.
  • Loading branch information
tarcieri authored Nov 12, 2023
1 parent eb07d10 commit 1d0810d
Show file tree
Hide file tree
Showing 18 changed files with 640 additions and 841 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/async-signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: dtolnay/rust-toolchain@nightly
- run: cargo update -Z minimal-versions
- uses: dtolnay/rust-toolchain@stable
- uses: RustCrypto/actions/cargo-hack-install@master
- run: rm ../../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo hack test --release --feature-powerset
11 changes: 0 additions & 11 deletions .github/workflows/crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,3 @@ jobs:
- run: cargo test --no-default-features --release
- run: cargo test --release
- run: cargo test --all-features --release

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.65.0
components: clippy
- run: cargo clippy --all --all-features -- -D warnings
4 changes: 0 additions & 4 deletions .github/workflows/universal-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
# Isolate this crate from workspace which is otherwise MSRV 1.56 due to 2021 edition crates
- run: rm ../Cargo.toml
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

minimal-versions:
Expand All @@ -56,8 +54,6 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
# Isolate this crate from workspace which is otherwise MSRV 1.56 due to 2021 edition crates
- run: rm ../Cargo.toml
- run: cargo check --all-features
- run: cargo test --no-default-features --release
- run: cargo test --release
Expand Down
Loading

0 comments on commit 1d0810d

Please sign in to comment.