Skip to content

Commit

Permalink
Bump MSRV and Rust edition
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Feb 14, 2022
1 parent 795c035 commit 1ce783b
Show file tree
Hide file tree
Showing 46 changed files with 117 additions and 210 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/aes-gcm-siv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.49.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- armv7a-none-eabi
Expand All @@ -45,15 +45,15 @@ jobs:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand All @@ -67,21 +67,5 @@ jobs:
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features stream,std
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo build --target ${{ matrix.target }} --benches

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
28 changes: 4 additions & 24 deletions .github/workflows/aes-gcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.49.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- armv7a-none-eabi
Expand All @@ -45,15 +45,15 @@ jobs:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand All @@ -67,25 +67,5 @@ jobs:
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features stream,std,zeroize
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo build --target ${{ matrix.target }} --benches

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features




20 changes: 2 additions & 18 deletions .github/workflows/aes-siv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.49.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- armv7a-none-eabi
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
rust:
- 1.49.0 # MSRV
- 1.56.1 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand All @@ -54,20 +54,4 @@ jobs:
override: true
- run: cargo test --release
- run: cargo test --release --features stream,std

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
2 changes: 1 addition & 1 deletion .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand Down
24 changes: 4 additions & 20 deletions .github/workflows/ccm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -44,15 +44,15 @@ jobs:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.1 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand All @@ -66,21 +66,5 @@ jobs:
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features stream,std
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo build --target ${{ matrix.target }} --benches

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
7 changes: 3 additions & 4 deletions .github/workflows/chacha20poly1305.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.51.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- armv7a-none-eabi
Expand All @@ -46,15 +46,15 @@ jobs:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.51.0 # MSRV
rust: 1.56.1 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.51.0 # MSRV
rust: 1.56.1 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand All @@ -71,4 +71,3 @@ jobs:
- run: cargo test --target ${{ matrix.target }} --release --features reduced-round,stream,std
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo build --target ${{ matrix.target }} --benches

20 changes: 2 additions & 18 deletions .github/workflows/deoxys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.50.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- armv7a-none-eabi
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
rust:
- 1.50.0 # MSRV
- 1.56.1 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand All @@ -54,20 +54,4 @@ jobs:
override: true
- run: cargo test --release
- run: cargo test --release --features stream,std

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
20 changes: 2 additions & 18 deletions .github/workflows/eax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand All @@ -53,20 +53,4 @@ jobs:
override: true
- run: cargo test --release
- run: cargo test --release --features stream,std

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
22 changes: 3 additions & 19 deletions .github/workflows/mgm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.1 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand All @@ -54,21 +54,5 @@ jobs:
- run: cargo test --release
- run: cargo test --release --features force-soft
- run: cargo test --release --features stream,std
- run: RUSTFLAGS="-C target-cpu=native" cargo test --release --features stream,std

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
- run: RUSTFLAGS="-C target-cpu=native" cargo test --release --features stream,std
2 changes: 1 addition & 1 deletion .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0 # MSRV (highest in repo)
toolchain: 1.56.1 # MSRV (highest in repo)
components: clippy
override: true
profile: minimal
Expand Down
Loading

0 comments on commit 1ce783b

Please sign in to comment.