diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 73bfa30..addbffe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,14 +16,18 @@ env: jobs: check: + name: check ${{ matrix.features }} runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + features: ["", "std", "zeroize", "std,zeroize"] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: clippy - - run: cargo clippy --no-default-features - - run: cargo clippy --tests + - run: cargo clippy --no-default-features -F "${{ matrix.features }}" --tests test: name: test ${{matrix.os}}-${{ matrix.rust }} diff --git a/Cargo.toml b/Cargo.toml index ad2f8a1..e44076a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ categories = ["cryptography", "encoding", "no-std"] [features] default = ["std"] std = [] +zeroize = ["aes/zeroize"] [dependencies] aes = "0.8.4"