Skip to content

Commit 678a63e

Browse files
authored
Migrate to the buffer_fixed! macro (#186)
1 parent cf73665 commit 678a63e

38 files changed

Lines changed: 1581 additions & 1427 deletions

.github/workflows/belt-mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ jobs:
5959
toolchain: ${{ matrix.rust }}
6060
- run: cargo test --release --no-default-features
6161
- run: cargo test --release
62+
- run: cargo test --release --all-features

.github/workflows/cbc-mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ jobs:
6060
toolchain: ${{ matrix.rust }}
6161
- run: cargo test --release --no-default-features
6262
- run: cargo test --release
63+
- run: cargo test --release --all-features

.github/workflows/cmac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ jobs:
5959
toolchain: ${{ matrix.rust }}
6060
- run: cargo test --release --no-default-features
6161
- run: cargo test --release
62+
- run: cargo test --release --all-features

.github/workflows/hmac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ jobs:
5858
with:
5959
toolchain: ${{ matrix.rust }}
6060
- run: cargo test --release --no-default-features
61-
- run: cargo test --release --features reset
6261
- run: cargo test --release
62+
- run: cargo test --release --all-features

.github/workflows/pmac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ jobs:
5959
toolchain: ${{ matrix.rust }}
6060
- run: cargo test --release --no-default-features
6161
- run: cargo test --release
62+
- run: cargo test --release --all-features

.github/workflows/retail-mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ jobs:
5959
toolchain: ${{ matrix.rust }}
6060
- run: cargo test --release --no-default-features
6161
- run: cargo test --release
62+
- run: cargo test --release --all-features

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ members = [
1111

1212
[profile.dev]
1313
opt-level = 2
14+
15+
[patch.crates-io]
16+
# https://github.com/RustCrypto/traits/pull/1787
17+
# https://github.com/RustCrypto/traits/pull/1799
18+
digest = { git = "https://github.com/RustCrypto/traits" }
19+
crypto-common = { git = "https://github.com/RustCrypto/traits" }
20+
21+
# https://github.com/RustCrypto/hashes/pull/678
22+
streebog = { git = "https://github.com/RustCrypto/hashes" }
23+
sha1 = { git = "https://github.com/RustCrypto/hashes" }
24+
sha2 = { git = "https://github.com/RustCrypto/hashes" }
25+
md-5 = { git = "https://github.com/RustCrypto/hashes" }

belt-mac/CHANGELOG.md

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

8+
## 0.2.0 (UNRELEASED)
9+
### Changed
10+
- Edition changed to 2024 and MSRV bumped to 1.85
11+
- Relax MSRV policy and allow MSRV bumps in patch releases
12+
- Update to `digest` v0.11
13+
- Update to `cipher` v0.5
14+
- Replace type aliases with newtypes ([#186])
15+
16+
### Removed
17+
- `std` crate feature ([#186])
18+
19+
[#186]: https://github.com/RustCrypto/MACs/pull/186
20+
821
## 0.1.0 (2023-04-03)
922
Initial Release

belt-mac/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ digest = { version = "=0.11.0-pre.10", features = ["dev"] }
2222
hex-literal = "1"
2323

2424
[features]
25-
std = ["digest/std"]
26-
zeroize = ["cipher/zeroize"]
25+
zeroize = ["cipher/zeroize", "digest/zeroize"]
2726

2827
[package.metadata.docs.rs]
2928
all-features = true
30-
rustdoc-args = ["--cfg", "docsrs"]

0 commit comments

Comments
 (0)