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.

2 changes: 1 addition & 1 deletion aead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ such as AES-GCM as ChaCha20Poly1305, which provide a high-level API
"""

[dependencies]
common = { version = "0.2.0-rc.15", package = "crypto-common" }
common = { version = "0.2", package = "crypto-common" }
inout = "0.2.2"

# optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion cipher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
description = "Traits for describing block ciphers and stream ciphers"

[dependencies]
common = { version = "0.2.0-rc.15", package = "crypto-common" }
common = { version = "0.2", package = "crypto-common" }
inout = "0.2.2"

# optional dependencies
Expand Down
32 changes: 26 additions & 6 deletions crypto-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,44 @@ 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.2.0 (UNRELEASED)
## 0.2.0 (2026-02-04)
### Added
- Sealed `BlockSizes` trait implemented for types from `U1` to `U255`
- `Generate` trait ([#2096])
- Sealed `BlockSizes` trait implemented for types from `U1` to `U255` ([#1172])
- `SerializableState` trait under `hazmat` module ([#1369])
- `OutputSize` type alias ([#1533])
- `IvState` trait ([#1636])
- `core::error::Error` impls for error types ([#1660])
- `Generate` trait as a common RNG API ([#2096], [#2145])
- `TryKeyInit` trait ([#2097])
- Re-export `getrandom` ([#2152])
- `KeyExport` trait ([#2213])

### Changed
- Replaced `generic-array` with `hybrid-array` ([#1319], [#1976])
- `BlockUser::BlockSize` is now bounded by the `BlockSizes` trait
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
- `generate_*` methods on `KeyInit` and `KeyIvInit` traits have been deprecated in favor of the
new `Generate` trait ([#2162])
- Bump `rand_core` to v0.10 ([#2250])
- Bump `getrandom` to v0.4 ([#2258])

### Removed
- `generate_*` and `try_generate_*` methods from KeyInit and KeyIvInit traits.
See the newly added Generate trait for replacement ([#2096])

- `std` feature ([#1680])

[#1172]: https://github.com/RustCrypto/traits/pull/1172
[#1319]: https://github.com/RustCrypto/traits/pull/1319
[#1369]: https://github.com/RustCrypto/traits/pull/1369
[#1533]: https://github.com/RustCrypto/traits/pull/1533
[#1636]: https://github.com/RustCrypto/traits/pull/1636
[#1660]: https://github.com/RustCrypto/traits/pull/1660
[#1680]: https://github.com/RustCrypto/traits/pull/1680
[#1759]: https://github.com/RustCrypto/traits/pull/1759
[#1976]: https://github.com/RustCrypto/traits/pull/1976
[#2096]: https://github.com/RustCrypto/traits/pull/2096
[#2097]: https://github.com/RustCrypto/traits/pull/2097
[#2145]: https://github.com/RustCrypto/traits/pull/2145
[#2152]: https://github.com/RustCrypto/traits/pull/2152
[#2162]: https://github.com/RustCrypto/traits/pull/2162
[#2213]: https://github.com/RustCrypto/traits/pull/2213
[#2250]: https://github.com/RustCrypto/traits/pull/2250
[#2258]: https://github.com/RustCrypto/traits/pull/2258
Expand Down
4 changes: 2 additions & 2 deletions crypto-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "crypto-common"
version = "0.2.0-rc.15"
version = "0.2.0"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/RustCrypto/traits"
license = "MIT OR Apache-2.0"
keywords = ["crypto", "traits"]
categories = ["cryptography", "no-std"]
description = "Common cryptographic traits"
description = "Common traits used by cryptographic algorithms"

[dependencies]
hybrid-array = "0.4.7"
Expand Down
2 changes: 1 addition & 1 deletion crypto-common/LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021-2025 RustCrypto Developers
Copyright (c) 2021-2026 RustCrypto Developers

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
Expand Down
4 changes: 2 additions & 2 deletions crypto-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"
)]
#![forbid(unsafe_code)]

Expand Down
2 changes: 1 addition & 1 deletion crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
description = "Facade crate for all of the RustCrypto traits (e.g. `aead`, `cipher`, `digest`)"

[dependencies]
common = { version = "0.2.0-rc.15", package = "crypto-common", path = "../crypto-common", default-features = false }
common = { version = "0.2", package = "crypto-common", path = "../crypto-common", default-features = false }

# optional dependencies
aead = { version = "0.6.0-rc.5", path = "../aead", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion digest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
description = "Traits for cryptographic hash functions and message authentication codes"

[dependencies]
common = { version = "0.2.0-rc.15", package = "crypto-common" }
common = { version = "0.2", package = "crypto-common" }

# optional dependencies
block-buffer = { version = "0.11", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion elliptic-curve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ features = ["hybrid-array", "rand_core", "subtle", "zeroize"]
[dependencies]
array = { package = "hybrid-array", version = "0.4", default-features = false, features = ["zeroize"] }
base16ct = "1"
common = { package = "crypto-common", version = "0.2.0-rc.15", features = ["rand_core"] }
common = { package = "crypto-common", version = "0.2", features = ["rand_core"] }
rand_core = { version = "0.10", default-features = false }
subtle = { version = "2.6", default-features = false }
zeroize = { version = "1.7", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Traits for Key Encapsulation Mechanisms (KEMs): public-key cryptosystems designe
"""

[dependencies]
common = { package = "crypto-common", version = "0.2.0-rc.15", features = ["rand_core"] }
common = { package = "crypto-common", version = "0.2", features = ["rand_core"] }
rand_core = "0.10"

[features]
Expand Down
2 changes: 1 addition & 1 deletion universal-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
description = "Traits which describe the functionality of universal hash functions (UHFs)"

[dependencies]
common = { version = "0.2.0-rc.15", package = "crypto-common" }
common = { version = "0.2", package = "crypto-common" }
subtle = { version = "2.4", default-features = false }

[package.metadata.docs.rs]
Expand Down