Skip to content

Commit 2cb6089

Browse files
committed
block-buffer v0.10
1 parent ecba6bd commit 2cb6089

File tree

11 files changed

+608
-570
lines changed

11 files changed

+608
-570
lines changed

.github/workflows/block-buffer.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
target: ${{ matrix.target }}
3737
override: true
3838
- run: cargo build --release --target ${{ matrix.target }}
39-
- run: cargo build --features block-padding --release --target ${{ matrix.target }}
4039
test:
4140
runs-on: ubuntu-latest
4241
strategy:
@@ -52,5 +51,4 @@ jobs:
5251
toolchain: ${{ matrix.rust }}
5352
override: true
5453
- run: cargo test --release
55-
- run: cargo test --features block-padding --release
5654
- run: cargo test --all-features --release

Cargo.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

block-buffer/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.10.0 (2020-11-22)
8+
### Changed
9+
- Significant reduction of number of unreachable panics.
10+
- Added buffer kind type parameter to `BlockBuffer`, respective marker types, and type aliases.
11+
- Various `BlockBuffer` method changes.
12+
13+
### Removed
14+
- `pad_with` method and dependency on `block-padding`.
15+
716
## 0.10.0 (2020-12-08)
817
### Changed
918
- Rename `input_block(s)` methods to `digest_block(s)`. ([#113])

block-buffer/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "block-buffer"
3-
version = "0.10.0-pre.4" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.10.0" # Also update html_root_url in lib.rs when bumping this
44
authors = ["RustCrypto Developers"]
55
license = "MIT OR Apache-2.0"
6-
description = "Fixed size buffer for block processing of data"
6+
description = "Buffer type for block processing of data"
77
documentation = "https://docs.rs/block-buffer"
88
repository = "https://github.com/RustCrypto/utils"
99
keywords = ["block", "buffer"]
1010
categories = ["cryptography", "no-std"]
1111
edition = "2018"
12+
readme = "README.md"
1213

1314
[dependencies]
14-
block-padding = { version = "0.3.0-pre", path = "../block-padding", optional = true }
1515
generic-array = "0.14"

block-buffer/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# [RustCrypto]: Block Buffer
2+
3+
[![crate][crate-image]][crate-link]
4+
[![Docs][docs-image]][docs-link]
5+
![Apache2/MIT licensed][license-image]
6+
![Rust Version][rustc-image]
7+
[![Project Chat][chat-image]][chat-link]
8+
[![Build Status][build-image]][build-link]
9+
10+
Buffer type for block processing of data with minimized amount of unreachable panics.
11+
12+
## License
13+
14+
Licensed under either of:
15+
16+
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
17+
* [MIT license](http://opensource.org/licenses/MIT)
18+
19+
at your option.
20+
21+
### Contribution
22+
23+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
24+
25+
[//]: # (badges)
26+
27+
[crate-image]: https://img.shields.io/crates/v/block-buffer.svg
28+
[crate-link]: https://crates.io/crates/block-buffer
29+
[docs-image]: https://docs.rs/block-buffer/badge.svg
30+
[docs-link]: https://docs.rs/block-buffer/
31+
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
32+
[rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg
33+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
34+
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
35+
[build-image]: https://github.com/RustCrypto/utils/workflows/block-buffer/badge.svg?branch=master&event=push
36+
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/block-buffer.yml
37+
38+
[//]: # (general links)
39+
40+
[RustCrypto]: https://github.com/rustcrypto

0 commit comments

Comments
 (0)