Skip to content

Commit 3467ffb

Browse files
authored
Release crypto-common v0.2.0 (#2276)
### Added - 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 - `std` feature ([#1680]) [#1172]: #1172 [#1319]: #1319 [#1369]: #1369 [#1533]: #1533 [#1636]: #1636 [#1660]: #1660 [#1680]: #1680 [#1759]: #1759 [#1976]: #1976 [#2096]: #2096 [#2097]: #2097 [#2145]: #2145 [#2152]: #2152 [#2162]: #2162 [#2213]: #2213 [#2250]: #2250 [#2258]: #2258
1 parent fdc1188 commit 3467ffb

12 files changed

Lines changed: 47 additions & 27 deletions

File tree

Cargo.lock

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

aead/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ such as AES-GCM as ChaCha20Poly1305, which provide a high-level API
1616
"""
1717

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

2222
# optional dependencies

cipher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
1313
description = "Traits for describing block ciphers and stream ciphers"
1414

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

1919
# optional dependencies

crypto-common/CHANGELOG.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,44 @@ 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)
8+
## 0.2.0 (2026-02-04)
99
### Added
10-
- Sealed `BlockSizes` trait implemented for types from `U1` to `U255`
11-
- `Generate` trait ([#2096])
10+
- Sealed `BlockSizes` trait implemented for types from `U1` to `U255` ([#1172])
11+
- `SerializableState` trait under `hazmat` module ([#1369])
12+
- `OutputSize` type alias ([#1533])
13+
- `IvState` trait ([#1636])
14+
- `core::error::Error` impls for error types ([#1660])
15+
- `Generate` trait as a common RNG API ([#2096], [#2145])
16+
- `TryKeyInit` trait ([#2097])
17+
- Re-export `getrandom` ([#2152])
1218
- `KeyExport` trait ([#2213])
1319

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

2029
### Removed
21-
- `generate_*` and `try_generate_*` methods from KeyInit and KeyIvInit traits.
22-
See the newly added Generate trait for replacement ([#2096])
23-
30+
- `std` feature ([#1680])
31+
32+
[#1172]: https://github.com/RustCrypto/traits/pull/1172
33+
[#1319]: https://github.com/RustCrypto/traits/pull/1319
34+
[#1369]: https://github.com/RustCrypto/traits/pull/1369
35+
[#1533]: https://github.com/RustCrypto/traits/pull/1533
36+
[#1636]: https://github.com/RustCrypto/traits/pull/1636
37+
[#1660]: https://github.com/RustCrypto/traits/pull/1660
38+
[#1680]: https://github.com/RustCrypto/traits/pull/1680
2439
[#1759]: https://github.com/RustCrypto/traits/pull/1759
40+
[#1976]: https://github.com/RustCrypto/traits/pull/1976
2541
[#2096]: https://github.com/RustCrypto/traits/pull/2096
42+
[#2097]: https://github.com/RustCrypto/traits/pull/2097
43+
[#2145]: https://github.com/RustCrypto/traits/pull/2145
44+
[#2152]: https://github.com/RustCrypto/traits/pull/2152
45+
[#2162]: https://github.com/RustCrypto/traits/pull/2162
2646
[#2213]: https://github.com/RustCrypto/traits/pull/2213
2747
[#2250]: https://github.com/RustCrypto/traits/pull/2250
2848
[#2258]: https://github.com/RustCrypto/traits/pull/2258

crypto-common/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "crypto-common"
3-
version = "0.2.0-rc.15"
3+
version = "0.2.0"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"
@@ -10,7 +10,7 @@ repository = "https://github.com/RustCrypto/traits"
1010
license = "MIT OR Apache-2.0"
1111
keywords = ["crypto", "traits"]
1212
categories = ["cryptography", "no-std"]
13-
description = "Common cryptographic traits"
13+
description = "Common traits used by cryptographic algorithms"
1414

1515
[dependencies]
1616
hybrid-array = "0.4.7"

crypto-common/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021-2025 RustCrypto Developers
1+
Copyright (c) 2021-2026 RustCrypto Developers
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

crypto-common/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc = include_str!("../README.md")]
44
#![doc(
5-
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
6-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
5+
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
6+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"
77
)]
88
#![forbid(unsafe_code)]
99

crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
1313
description = "Facade crate for all of the RustCrypto traits (e.g. `aead`, `cipher`, `digest`)"
1414

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

1818
# optional dependencies
1919
aead = { version = "0.6.0-rc.5", path = "../aead", optional = true }

digest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
1313
description = "Traits for cryptographic hash functions and message authentication codes"
1414

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

1818
# optional dependencies
1919
block-buffer = { version = "0.11", optional = true }

elliptic-curve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ features = ["hybrid-array", "rand_core", "subtle", "zeroize"]
2525
[dependencies]
2626
array = { package = "hybrid-array", version = "0.4", default-features = false, features = ["zeroize"] }
2727
base16ct = "1"
28-
common = { package = "crypto-common", version = "0.2.0-rc.15", features = ["rand_core"] }
28+
common = { package = "crypto-common", version = "0.2", features = ["rand_core"] }
2929
rand_core = { version = "0.10", default-features = false }
3030
subtle = { version = "2.6", default-features = false }
3131
zeroize = { version = "1.7", default-features = false }

0 commit comments

Comments
 (0)