Skip to content

Commit 2ec2736

Browse files
authored
ctutils v0.4.0 (#1410)
## Added - `core::num::NonZero<T>` support (#1368) - Pluggable trait impls for `[T]` and `[T; N]` with helper traits: (#1388) - `CtAssign`: `CtAssignSlice` - `CtEq`: `CtEqSlice` - `CtSelect`: `CtSelectArray` - `CtSelectUsingCtAssign` marker trait (#1391) ## Changed - Split `CtAssign` out of `CtSelect` (#1363) - Bump `cmov` to v0.5 (#1386) ## Removed - `BytesCtEq`/`BytesCtSelect` no longer needed because default `[u8]` impls are fast (#1376) - `target_pointer_width` gating (#1389) - `unsafe` code (#1405)
1 parent 949537f commit 2ec2736

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ctutils/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ 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+
## 0.4.0 (2026-01-19)
8+
### Added
9+
- `core::num::NonZero<T>` support ([#1368])
10+
- Pluggable trait impls for `[T]` and `[T; N]` using helper traits: ([#1388])
11+
- `CtAssign`: `CtAssignSlice`
12+
- `CtEq`: `CtEqSlice`
13+
- `CtSelect`: `CtSelectArray`
14+
- `CtSelectUsingCtAssign` marker trait ([#1391])
15+
16+
### Changed
17+
- Split `CtAssign` out of `CtSelect` ([#1363])
18+
- Bump `cmov` to v0.5 ([#1386])
19+
20+
### Removed
21+
- `BytesCtEq`/`BytesCtSelect` no longer needed because default `[u8]` impls are fast ([#1376])
22+
- `target_pointer_width` gating ([#1389])
23+
- `unsafe` code ([#1405])
24+
25+
[#1363]: https://github.com/RustCrypto/utils/pull/1363
26+
[#1368]: https://github.com/RustCrypto/utils/pull/1368
27+
[#1376]: https://github.com/RustCrypto/utils/pull/1376
28+
[#1386]: https://github.com/RustCrypto/utils/pull/1386
29+
[#1388]: https://github.com/RustCrypto/utils/pull/1388
30+
[#1389]: https://github.com/RustCrypto/utils/pull/1389
31+
[#1391]: https://github.com/RustCrypto/utils/pull/1391
32+
[#1405]: https://github.com/RustCrypto/utils/pull/1405
33+
734
## 0.3.2 (2026-01-16)
835
### Added
936
- `BytesCtEq` and `BytesCtSelect` traits ([#1359])

ctutils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Constant-time utility library with selection and equality testing support target
55
applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides
66
architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate.
77
"""
8-
version = "0.4.0-pre.5"
8+
version = "0.4.0"
99
authors = ["RustCrypto Developers"]
1010
license = "Apache-2.0 OR MIT"
1111
homepage = "https://github.com/RustCrypto/utils/tree/master/ctselect"

0 commit comments

Comments
 (0)