Skip to content

cpufeatures: add InitToken::{init, init_get}#1435

Merged
tarcieri merged 1 commit intomasterfrom
cpufeatures/inittoken-constructor-methods
Jan 28, 2026
Merged

cpufeatures: add InitToken::{init, init_get}#1435
tarcieri merged 1 commit intomasterfrom
cpufeatures/inittoken-constructor-methods

Conversation

@tarcieri
Copy link
Member

Makes these methods callable as constructor methods for InitToken.

This makes for only one thing you have to re-export if you want to provide InitToken to other modules within a crate, or potentially as a pub re-export as e.g. part of a hazmat API.

Makes these methods callable as constructor methods for `InitToken`.

This makes for only one thing you have to re-export if you want to
provide `InitToken` to other modules within a crate, or potentially as
a `pub` re-export as e.g. part of a `hazmat` API.
@tarcieri tarcieri requested a review from newpavlov January 28, 2026 14:51
@tarcieri tarcieri merged commit 4e06b95 into master Jan 28, 2026
15 checks passed
@tarcieri tarcieri deleted the cpufeatures/inittoken-constructor-methods branch January 28, 2026 15:05
@tarcieri tarcieri mentioned this pull request Feb 4, 2026
tarcieri added a commit that referenced this pull request Feb 4, 2026
### Added
- `x86` support for: `sha512`, `sm3`, `sm4` (#1181)
- `InitToken::{init, init_get}` (#1435)

### Changed
- Edition changed to 2024 and MSRV bumped to 1.85 (#1149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants