Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inout crate and prepare block-padding v0.3
- Loading branch information
Showing
17 changed files
with
1,220 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: inout | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "inout/**" | ||
- "Cargo.*" | ||
push: | ||
branches: master | ||
|
||
defaults: | ||
run: | ||
working-directory: inout | ||
|
||
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: | ||
profile: minimal | ||
toolchain: ${{ matrix.rust }} | ||
target: ${{ matrix.target }} | ||
override: true | ||
- run: cargo build --target ${{ matrix.target }} | ||
- run: cargo build --features block-padding --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: | ||
profile: minimal | ||
toolchain: ${{ matrix.rust }} | ||
override: true | ||
- run: cargo test | ||
- run: cargo test --features block-padding | ||
- run: cargo test --all-features |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
members = [ | ||
"blobby", | ||
"block-buffer", | ||
"block-padding", | ||
"collectable", | ||
"cpufeatures", | ||
"dbl", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
[package] | ||
name = "block-padding" | ||
version = "0.3.0-pre" # Also update html_root_url in lib.rs when bumping this | ||
version = "0.3.0" # Also update html_root_url in lib.rs when bumping this | ||
description = "Padding and unpadding of messages divided into blocks." | ||
authors = ["RustCrypto Developers"] | ||
license = "MIT OR Apache-2.0" | ||
description = "Padding and unpadding of messages divided into blocks." | ||
edition = "2021" | ||
rust-version = "1.56" | ||
documentation = "https://docs.rs/block-padding" | ||
repository = "https://github.com/RustCrypto/utils" | ||
keywords = ["padding", "pkcs7", "ansix923", "iso7816"] | ||
categories = ["cryptography", "no-std"] | ||
edition = "2018" | ||
|
||
# Hack to allow this crate to coexist with pre-2021 edition crates | ||
[workspace] | ||
members = ["."] | ||
|
||
[dependencies] | ||
generic-array = "0.14" | ||
|
||
[features] | ||
std = [] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] |
Oops, something went wrong.