Skip to content

Commit 75298d3

Browse files
authored
update crates to digest v0.10 (#217)
1 parent d6c8c3c commit 75298d3

File tree

305 files changed

+7774
-9956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+7774
-9956
lines changed

.github/workflows/blake2.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest

.github/workflows/fsb.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.47.0 # MSRV
25+
- 1.41.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -35,14 +35,14 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
4444
rust:
45-
- 1.47.0 # MSRV
45+
- 1.41.0 # MSRV
4646
- stable
4747
steps:
4848
- uses: actions/checkout@v1
@@ -54,5 +54,4 @@ jobs:
5454
- run: cargo check --all-features
5555
- run: cargo test --no-default-features
5656
- run: cargo test
57-
- run: cargo test --features asm
5857
- run: cargo test --all-features

.github/workflows/gost94.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest
@@ -55,4 +55,3 @@ jobs:
5555
- run: cargo test --no-default-features
5656
- run: cargo test
5757
- run: cargo test --all-features
58-

.github/workflows/groestl.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest

.github/workflows/k12.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest
@@ -55,4 +55,3 @@ jobs:
5555
- run: cargo test --no-default-features
5656
- run: cargo test
5757
- run: cargo test --all-features
58-

.github/workflows/md2.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest
@@ -55,4 +55,3 @@ jobs:
5555
- run: cargo test --no-default-features
5656
- run: cargo test
5757
- run: cargo test --all-features
58-

.github/workflows/md4.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest
@@ -55,4 +55,3 @@ jobs:
5555
- run: cargo test --no-default-features
5656
- run: cargo test
5757
- run: cargo test --all-features
58-

.github/workflows/md5.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
toolchain: ${{ matrix.rust }}
3939
target: ${{ matrix.target }}
4040
override: true
41-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
41+
- run: cargo build --no-default-features --target ${{ matrix.target }}
4242

4343
test:
4444
runs-on: ubuntu-latest

.github/workflows/ripemd320.yml .github/workflows/ripemd.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: ripemd320
1+
name: ripemd
22

33
on:
44
pull_request:
55
paths:
6-
- "ripemd320/**"
6+
- "ripemd/**"
77
- "Cargo.*"
88
push:
99
branches: master
1010

1111
defaults:
1212
run:
13-
working-directory: ripemd320
13+
working-directory: ripemd
1414

1515
env:
1616
CARGO_INCREMENTAL: 0
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest

.github/workflows/ripemd160.yml

-58
This file was deleted.

.github/workflows/ripemd256.yml

-58
This file was deleted.

.github/workflows/sha1.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
toolchain: ${{ matrix.rust }}
3737
target: ${{ matrix.target }}
3838
override: true
39-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
39+
- run: cargo build --no-default-features --target ${{ matrix.target }}
4040

4141
# Linux tests
4242
linux:
@@ -69,10 +69,10 @@ jobs:
6969
target: ${{ matrix.target }}
7070
override: true
7171
- run: ${{ matrix.deps }}
72-
- run: cargo test --target ${{ matrix.target }} --release --no-default-features
73-
- run: cargo test --target ${{ matrix.target }} --release
74-
- run: cargo test --target ${{ matrix.target }} --release --features asm
75-
- run: cargo test --target ${{ matrix.target }} --release --all-features
72+
- run: cargo test --target ${{ matrix.target }} --no-default-features
73+
- run: cargo test --target ${{ matrix.target }}
74+
- run: cargo test --target ${{ matrix.target }} --features asm
75+
- run: cargo test --target ${{ matrix.target }} --all-features
7676

7777
# macOS tests
7878
macos:
@@ -91,10 +91,10 @@ jobs:
9191
toolchain: ${{ matrix.toolchain }}
9292
target: x86_64-apple-darwin
9393
override: true
94-
- run: cargo test --release --no-default-features
95-
- run: cargo test --release
96-
- run: cargo test --release --features asm
97-
- run: cargo test --release --all-features
94+
- run: cargo test --no-default-features
95+
- run: cargo test
96+
- run: cargo test --features asm
97+
- run: cargo test --all-features
9898

9999
# Windows tests
100100
windows:
@@ -118,7 +118,7 @@ jobs:
118118
target: ${{ matrix.target }}
119119
override: true
120120
- uses: msys2/setup-msys2@v2
121-
- run: cargo test --target ${{ matrix.target }} --release
121+
- run: cargo test --target ${{ matrix.target }}
122122

123123
# Cross-compiled tests
124124
# *** NOTE: Currently broken with `asm` feature enabled! See:
@@ -144,5 +144,5 @@ jobs:
144144
# target: ${{ matrix.target }}
145145
# override: true
146146
# - run: cargo install cross
147-
# - run: cross test --target ${{ matrix.target }} --release
148-
# - run: cross test --target ${{ matrix.target }} --release --features asm
147+
# - run: cross test --target ${{ matrix.target }}
148+
# - run: cross test --target ${{ matrix.target }} --features asm

.github/workflows/sha2.yml

+21-12
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
toolchain: ${{ matrix.rust }}
3737
target: ${{ matrix.target }}
3838
override: true
39-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
39+
- run: cargo build --no-default-features --target ${{ matrix.target }}
4040

4141
# Linux tests
4242
linux:
@@ -67,10 +67,10 @@ jobs:
6767
target: ${{ matrix.target }}
6868
override: true
6969
- run: ${{ matrix.deps }}
70-
- run: cargo test --target ${{ matrix.target }} --release --no-default-features
71-
- run: cargo test --target ${{ matrix.target }} --release
72-
- run: cargo test --target ${{ matrix.target }} --release --features asm
73-
- run: cargo test --target ${{ matrix.target }} --release --all-features
70+
- run: cargo test --target ${{ matrix.target }} --no-default-features
71+
- run: cargo test --target ${{ matrix.target }}
72+
- run: cargo test --target ${{ matrix.target }} --features asm
73+
- run: cargo test --target ${{ matrix.target }} --all-features
7474

7575
# macOS tests
7676
macos:
@@ -89,9 +89,9 @@ jobs:
8989
toolchain: ${{ matrix.toolchain }}
9090
target: x86_64-apple-darwin
9191
override: true
92-
- run: cargo test --release --no-default-features
93-
- run: cargo test --release
94-
- run: cargo test --release --features asm
92+
- run: cargo test --no-default-features
93+
- run: cargo test
94+
- run: cargo test --features asm
9595

9696
# Windows tests
9797
windows:
@@ -115,7 +115,7 @@ jobs:
115115
target: ${{ matrix.target }}
116116
override: true
117117
- uses: msys2/setup-msys2@v2
118-
- run: cargo test --target ${{ matrix.target }} --release
118+
- run: cargo test --target ${{ matrix.target }}
119119

120120
# Cross-compiled tests
121121
cross:
@@ -129,6 +129,10 @@ jobs:
129129
rust: stable
130130

131131
runs-on: ubuntu-latest
132+
defaults:
133+
run:
134+
# Cross mounts only current package, i.e. by default it ignores workspace's Cargo.toml
135+
working-directory: .
132136
steps:
133137
- uses: actions/checkout@v1
134138
- uses: actions-rs/toolchain@v1
@@ -137,6 +141,11 @@ jobs:
137141
toolchain: ${{ matrix.rust }}
138142
target: ${{ matrix.target }}
139143
override: true
140-
- run: cargo install cross
141-
- run: cross test --target ${{ matrix.target }} --release
142-
- run: cross test --target ${{ matrix.target }} --release --features asm
144+
- name: Install precompiled cross
145+
run: |
146+
export URL=$(curl -s https://api.github.com/repos/rust-embedded/cross/releases/latest | jq -r '.assets[] | select(.name | contains("x86_64-unknown-linux-gnu.tar.gz")) | .browser_download_url')
147+
wget -O /tmp/binaries.tar.gz $URL
148+
tar -C /tmp -xzf /tmp/binaries.tar.gz
149+
mv /tmp/cross ~/.cargo/bin
150+
- run: cross test --package sha2 --target ${{ matrix.target }}
151+
- run: cross test --package sha2 --target ${{ matrix.target }} --features asm

.github/workflows/sha3.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: ${{ matrix.rust }}
3636
target: ${{ matrix.target }}
3737
override: true
38-
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
38+
- run: cargo build --no-default-features --target ${{ matrix.target }}
3939

4040
test:
4141
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)