diff --git a/.github/workflows/cbc.yaml b/.github/workflows/cbc.yaml index a0af2dc..7bc0c8a 100644 --- a/.github/workflows/cbc.yaml +++ b/.github/workflows/cbc.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/cfb-mode.yaml b/.github/workflows/cfb-mode.yaml index 3d45cd5..7c9ac19 100644 --- a/.github/workflows/cfb-mode.yaml +++ b/.github/workflows/cfb-mode.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/cfb8.yaml b/.github/workflows/cfb8.yaml index 990ef3a..18a8428 100644 --- a/.github/workflows/cfb8.yaml +++ b/.github/workflows/cfb8.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/ctr.yaml b/.github/workflows/ctr.yaml index 7edc38a..e9a9fe0 100644 --- a/.github/workflows/ctr.yaml +++ b/.github/workflows/ctr.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/ige.yaml b/.github/workflows/ige.yaml index 627a711..fab1254 100644 --- a/.github/workflows/ige.yaml +++ b/.github/workflows/ige.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/ofb.yaml b/.github/workflows/ofb.yaml index f440a96..4955c1f 100644 --- a/.github/workflows/ofb.yaml +++ b/.github/workflows/ofb.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/pcbc.yaml b/.github/workflows/pcbc.yaml index 7caaaf1..10406a0 100644 --- a/.github/workflows/pcbc.yaml +++ b/.github/workflows/pcbc.yaml @@ -28,7 +28,8 @@ jobs: - thumbv7em-none-eabi - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -50,11 +51,12 @@ jobs: - 1.56.0 # MSRV - stable steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - profile: minimal - - run: cargo test - - run: cargo test --all-features + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true + profile: minimal + - run: cargo test + - run: cargo test --all-features diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 0d82d54..4042a37 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -13,7 +13,7 @@ jobs: name: Security Audit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Cache cargo bin uses: actions/cache@v1 with: diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 599f211..4e52296 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -13,20 +13,21 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.56.0 # MSRV - components: clippy - override: true - profile: minimal - - run: cargo clippy --all --all-features -- -D warnings + - uses: actions/checkout@v2 + - uses: RustCrypto/actions/cargo-cache@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.56.0 # MSRV + components: clippy + override: true + profile: minimal + - run: cargo clippy --all --all-features -- -D warnings rustfmt: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Install stable toolchain uses: actions-rs/toolchain@v1 @@ -40,14 +41,3 @@ jobs: with: command: fmt args: --all -- --check - - benches: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - profile: minimal - override: true - - run: cargo build --all --benches diff --git a/Cargo.lock b/Cargo.lock index 9d0df10..8242bf2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,9 +149,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.118" +version = "0.2.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e509672465a0504304aa87f9f176f2b2b716ed8fb105ebe5c02dc6dce96a94" +checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" [[package]] name = "magma"