Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion block-padding/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.4.1 (2025-10-06)
## 0.4.2 (2025-11-26)
### Changed
- Added `'static` bound to `Padding` trait ([#1248])

[#1248]: https://github.com/RustCrypto/utils/pull/1248

## 0.4.1 (2025-10-06) [YANKED]
Copy link
Member Author

@newpavlov newpavlov Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v0.4.1 will be yanked because addition of the bound is technically a breaking change.

### Added
- `PaddedData` enum ([#1227])

Expand Down
2 changes: 1 addition & 1 deletion block-padding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "block-padding"
version = "0.4.1"
version = "0.4.2"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
Expand Down
2 changes: 1 addition & 1 deletion block-padding/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use core::fmt;
use hybrid_array::{Array, ArraySize};

/// Trait for message padding algorithms.
pub trait Padding {
pub trait Padding: 'static {
/// Pads `block` filled with data up to `pos` (i.e the message length
/// stored in `block` is equal to `pos`).
///
Expand Down