Skip to content

Commit bcf9698

Browse files
committed
update crates to digest v0.10
1 parent d6c8c3c commit bcf9698

File tree

222 files changed

+6970
-9207
lines changed

Some content is hidden

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

222 files changed

+6970
-9207
lines changed

.github/workflows/fsb.yml

Lines changed: 2 additions & 3 deletions
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
@@ -42,7 +42,7 @@ jobs:
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/ripemd160.yml renamed to .github/workflows/ripemd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: ripemd160
1+
name: ripemd
22

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

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

1515
env:
1616
CARGO_INCREMENTAL: 0

.github/workflows/ripemd256.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/ripemd320.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/sha2.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }} --release
151+
- run: cross test --package sha2 --target ${{ matrix.target }} --release --features asm

0 commit comments

Comments
 (0)