Skip to content

Commit

Permalink
add zeroize feature
Browse files Browse the repository at this point in the history
  • Loading branch information
grimerssy committed Jul 23, 2024
1 parent 434f058 commit dd5cef0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ categories = ["cryptography", "encoding", "no-std"]
[features]
default = ["std"]
std = []
zeroize = ["aes/zeroize"]

[dependencies]
aes = "0.8.4"
Expand Down

0 comments on commit dd5cef0

Please sign in to comment.