Skip to content

Commit

Permalink
Migrate block mode crates (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Feb 10, 2022
1 parent 0aa3f6c commit d4583ba
Show file tree
Hide file tree
Showing 107 changed files with 7,290 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
55 changes: 55 additions & 0 deletions .github/workflows/cbc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: cbc

on:
pull_request:
paths:
- "cbc/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: cbc

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/cfb-mode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: cfb-mode

on:
pull_request:
paths:
- "cfb-mode/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: cfb-mode

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/cfb8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: cfb8

on:
pull_request:
paths:
- "cfb8/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: cfb8

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/ctr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ctr

on:
pull_request:
paths:
- "ctr/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: ctr

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/ige.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ige

on:
pull_request:
paths:
- "ige/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: ige

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/ofb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ofb

on:
pull_request:
paths:
- "ofb/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: ofb

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/pcbc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: pcbc

on:
pull_request:
paths:
- "pcbc/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: pcbc

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
profile: minimal
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features

0 comments on commit d4583ba

Please sign in to comment.