Skip to content

Commit aa2ccfc

Browse files
committed
block-buffer v0.11
1 parent aeda63e commit aa2ccfc

File tree

8 files changed

+557
-206
lines changed

8 files changed

+557
-206
lines changed

.github/workflows/block-buffer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.41.0 # MSRV
25+
- 1.56.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
rust:
53-
- 1.41.0 # MSRV
53+
- 1.56.0 # MSRV
5454
- stable
5555
steps:
5656
- uses: actions/checkout@v3

Cargo.lock

Lines changed: 30 additions & 23 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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ 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+
## UNRELEASED
8+
### Added
9+
- `ReadBuffer` type
10+
- `serialize` and `deserialize` methods
11+
12+
### Changed
13+
- Supported block sizes are now bounded by sealed `BlockSizes` trait
14+
implemented for types from `U1` to `U255`
15+
- Size of `EagerBuffer` is equal to buffer size, while previously it was equal
16+
to buffer size plus one byte.
17+
- MSRV bumped to 1.56
18+
19+
### Removed
20+
- `EagerBuffer::set_data` method. Use the `ReadBuffer` type instead.
21+
722
## 0.10.3 (2022-09-04)
823
### Added
924
- `try_new` method ([#799])

block-buffer/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
[package]
22
name = "block-buffer"
3-
version = "0.10.3"
3+
version = "0.11.0"
44
authors = ["RustCrypto Developers"]
55
license = "MIT OR Apache-2.0"
66
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"]
11-
edition = "2018"
11+
edition = "2021"
1212
readme = "README.md"
1313

1414
[dependencies]
1515
generic-array = "0.14"
16+
17+
[dev-dependencies]
18+
hex-literal = "0.3.3"

0 commit comments

Comments
 (0)