Skip to content

Commit

Permalink
update to digest v0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Dec 7, 2021
1 parent 8754a8d commit 0c8417e
Show file tree
Hide file tree
Showing 30 changed files with 536 additions and 316 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/argon2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features password-hash
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features zeroize
- run: cargo build --target ${{ matrix.target }} --no-default-features
- run: cargo build --target ${{ matrix.target }} --no-default-features --features password-hash
- run: cargo build --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --features zeroize

test:
runs-on: ubuntu-latest
Expand All @@ -54,7 +54,7 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release --no-default-features --features password-hash
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo test --no-default-features
- run: cargo test --no-default-features --features password-hash
- run: cargo test
- run: cargo test --all-features
13 changes: 5 additions & 8 deletions .github/workflows/pbkdf2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --no-default-features
- run: cargo build --target ${{ matrix.target }} --no-default-features --features simple

test:
runs-on: ubuntu-latest
Expand All @@ -51,10 +52,6 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --features simple
- run: cargo test --release --features parallel
- run: cargo test --release --features sha1
- run: cargo test --release --features simple,sha1
- run: cargo test --release --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
9 changes: 5 additions & 4 deletions .github/workflows/scrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features simple
- run: cargo build --target ${{ matrix.target }} --no-default-features
- run: cargo build --target ${{ matrix.target }} --no-default-features --features simple

test:
runs-on: ubuntu-latest
Expand All @@ -52,5 +52,6 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
7 changes: 4 additions & 3 deletions .github/workflows/sha-crypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --no-default-features

test:
runs-on: ubuntu-latest
Expand All @@ -51,5 +51,6 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
94 changes: 35 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ members = [
"scrypt",
"sha-crypt"
]

[profile.dev]
opt-level = 2

0 comments on commit 0c8417e

Please sign in to comment.