| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
## 0.3.1 (2026-08-26) |
| 9 |
### Changed |
| 10 |
- Use compile-time target feature detection under Miri ([#1513]) |
| 11 |
|
| 12 |
### Fixed |
| 13 |
- Detection of the `avx` target feature ([#1511]) |
| 14 |
- Use `::MAX` constant instead of deprecated `::max_value()` associated method ([#1515]) |
| 15 |
|
| 16 |
[#1511]: https://github.com/RustCrypto/utils/pull/1511 |
| 17 |
[#1513]: https://github.com/RustCrypto/utils/pull/1513 |
| 18 |
[#1515]: https://github.com/RustCrypto/utils/pull/1515 |
| 19 |
|
| 20 |
## 0.3.0 (2026-02-05) |
| 21 |
### Added |
| 22 |
- `x86` support for: `sha512`, `sm3`, `sm4` ([#1181]) |
| 23 |
- `InitToken::{init, init_get}` ([#1435]) |
| 24 |
|
| 25 |
### Changed |
| 26 |
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1149]) |
| 27 |
|
| 28 |
[#1149]: https://github.com/RustCrypto/utils/pull/1149 |
| 29 |
[#1181]: https://github.com/RustCrypto/utils/pull/1181 |
| 30 |
[#1435]: https://github.com/RustCrypto/utils/pull/1435 |
| 31 |
|
| 32 |
## 0.2.17 (2025-01-24) |
| 33 |
### Fixed |
| 34 |
- Don't link `std` when linking `libc` ([#1142]) |
| 35 |
|
| 36 |
[#1142]: https://github.com/RustCrypto/utils/pull/1142 |
| 37 |
|
| 38 |
## 0.2.16 (2024-11-22) |
| 39 |
### Fixed |
| 40 |
- `cfg` for freestanding x86 targets ([#1137]) |
| 41 |
|
| 42 |
[#1137]: https://github.com/RustCrypto/utils/pull/1137 |
| 43 |
|
| 44 |
## 0.2.15 (2024-11-11) |
| 45 |
### Fixed |
| 46 |
- Relax XSAVE checks ([#1130]) |
| 47 |
|
| 48 |
[#1130]: https://github.com/RustCrypto/utils/pull/1130 |
| 49 |
|
| 50 |
## 0.2.14 (2024-09-05) |
| 51 |
### Added |
| 52 |
- Support for detecting Data Independent Timing (DIT) on AArch64 ([#1100], [#1101]) |
| 53 |
|
| 54 |
[#1100]: https://github.com/RustCrypto/utils/pull/1100 |
| 55 |
[#1101]: https://github.com/RustCrypto/utils/pull/1101 |
| 56 |
|
| 57 |
## 0.2.13 (2024-08-12) |
| 58 |
### Changed |
| 59 |
- Use `#[cold]` for initialization code ([#1096]) |
| 60 |
|
| 61 |
[#1096]: https://github.com/RustCrypto/utils/pull/1096 |
| 62 |
|
| 63 |
## 0.2.12 (2024-01-04) |
| 64 |
### Added |
| 65 |
- Support for x86-64 AVX-512 target features: `gfni`, `vaes`, `vpclmulqdq`, `avx512bitalg`, `avx512vpopcntdq` ([#1035]) |
| 66 |
|
| 67 |
[#1035]: https://github.com/RustCrypto/utils/pull/1035 |
| 68 |
|
| 69 |
## 0.2.11 (2023-10-26) |
| 70 |
### Added |
| 71 |
- Support for AArch64's `sm4` target feature ([#972]) |
| 72 |
|
| 73 |
[#972]: https://github.com/RustCrypto/utils/pull/972 |
| 74 |
|
| 75 |
## 0.2.10 (2023-10-20) |
| 76 |
### Added |
| 77 |
- LoongArch64 target support ([#955]) |
| 78 |
|
| 79 |
[#955]: https://github.com/RustCrypto/utils/pull/955 |
| 80 |
|
| 81 |
## 0.2.9 (2023-07-05) |
| 82 |
### Added |
| 83 |
- Support for `avx512vbmi` and `avx512vbmi2` target features ([#926]) |
| 84 |
|
| 85 |
[#926]: https://github.com/RustCrypto/utils/pull/926 |
| 86 |
|
| 87 |
## 0.2.8 (2023-06-15) |
| 88 |
### Fixed |
| 89 |
- Check OS register support on x86 targets ([#919]) |
| 90 |
|
| 91 |
[#919]: https://github.com/RustCrypto/utils/issues/919 |
| 92 |
|
| 93 |
## 0.2.7 (2023-04-20) |
| 94 |
### Added |
| 95 |
- Support freestanding/UEFI `x86` targets ([#821]) |
| 96 |
|
| 97 |
[#821]: https://github.com/RustCrypto/utils/issues/821 |
| 98 |
|
| 99 |
## 0.2.6 (2023-03-24) |
| 100 |
### Added |
| 101 |
- Support dynamic feature detection on iOS and derivative platforms ([#848]) |
| 102 |
- Support for detecting AVX-512 target features ([#862]) |
| 103 |
|
| 104 |
[#848]: https://github.com/RustCrypto/utils/issues/848 |
| 105 |
[#862]: https://github.com/RustCrypto/utils/pull/862 |
| 106 |
|
| 107 |
## 0.2.5 (2022-09-04) |
| 108 |
### Fixed |
| 109 |
- Add workaround for [CPUID bug] in `std` ([#800]) |
| 110 |
|
| 111 |
[CPUID bug]: https://github.com/rust-lang/rust/issues/101346 |
| 112 |
[#800]: https://github.com/RustCrypto/utils/pull/800 |
| 113 |
|
| 114 |
## 0.2.4 (2022-08-22) [YANKED] |
| 115 |
- Re-release v0.2.3 without any changes to fix [#795] ([#796]) |
| 116 |
|
| 117 |
[#795]: https://github.com/RustCrypto/utils/issues/795 |
| 118 |
[#796]: https://github.com/RustCrypto/utils/pull/796 |
| 119 |
|
| 120 |
## 0.2.3 (2022-08-18) [YANKED] |
| 121 |
### Changed |
| 122 |
- Update `libc` version to v0.2.95 ([#789]) |
| 123 |
- Disable all target features under MIRI ([#779]) |
| 124 |
- Check AVX availability when detecting AVX2 and FMA ([#792]) |
| 125 |
|
| 126 |
[#779]: https://github.com/RustCrypto/utils/pull/779 |
| 127 |
[#789]: https://github.com/RustCrypto/utils/pull/789 |
| 128 |
[#792]: https://github.com/RustCrypto/utils/pull/792 |
| 129 |
|
| 130 |
## 0.2.2 (2022-03-18) [YANKED] |
| 131 |
### Added |
| 132 |
- Support for Android on `aarch64` ([#752]) |
| 133 |
|
| 134 |
### Removed |
| 135 |
- Vestigial code around `crypto` target feature ([#600]) |
| 136 |
|
| 137 |
[#600]: https://github.com/RustCrypto/utils/pull/600 |
| 138 |
[#752]: https://github.com/RustCrypto/utils/pull/752 |
| 139 |
|
| 140 |
## 0.2.1 (2021-08-26) [YANKED] |
| 141 |
### Changed |
| 142 |
- Revert [#583] "Use from_bytes_with_nul for string check" ([#597]) |
| 143 |
|
| 144 |
[#583]: https://github.com/RustCrypto/utils/pull/583 |
| 145 |
[#597]: https://github.com/RustCrypto/utils/pull/597 |
| 146 |
|
| 147 |
## 0.2.0 (2021-08-26) [YANKED] |
| 148 |
### Removed |
| 149 |
- AArch64 `crypto` target feature ([#594]) |
| 150 |
|
| 151 |
[#594]: https://github.com/RustCrypto/utils/pull/594 |
| 152 |
|
| 153 |
## 0.1.5 (2021-06-21) |
| 154 |
### Added |
| 155 |
- iOS support ([#435], [#501]) |
| 156 |
|
| 157 |
### Changed |
| 158 |
- Map `aarch64` HWCAPs to target features; add `crypto` ([#456]) |
| 159 |
|
| 160 |
[#435]: https://github.com/RustCrypto/utils/pull/435 |
| 161 |
[#456]: https://github.com/RustCrypto/utils/pull/456 |
| 162 |
[#501]: https://github.com/RustCrypto/utils/pull/501 |
| 163 |
|
| 164 |
## 0.1.4 (2021-05-14) |
| 165 |
### Added |
| 166 |
- Support compiling on non-Linux/macOS aarch64 targets ([#408]) |
| 167 |
|
| 168 |
[#408]: https://github.com/RustCrypto/utils/pull/408 |
| 169 |
|
| 170 |
## 0.1.3 (2021-05-13) |
| 171 |
### Removed |
| 172 |
- `neon` on `aarch64` targets: already enabled by default ([#406]) |
| 173 |
|
| 174 |
[#406]: https://github.com/RustCrypto/utils/pull/406 |
| 175 |
|
| 176 |
## 0.1.2 (2021-05-13) [YANKED] |
| 177 |
### Added |
| 178 |
- `neon` feature detection on `aarch64` targets ([#403]) |
| 179 |
|
| 180 |
### Fixed |
| 181 |
- Support for `musl`-based targets ([#403]) |
| 182 |
|
| 183 |
[#403]: https://github.com/RustCrypto/utils/pull/403 |
| 184 |
|
| 185 |
## 0.1.1 (2021-05-06) |
| 186 |
### Added |
| 187 |
- `aarch64` support for Linux and macOS/M4 targets ([#393]) |
| 188 |
|
| 189 |
[#393]: https://github.com/RustCrypto/utils/pull/393 |
| 190 |
|
| 191 |
## 0.1.0 (2021-04-29) |
| 192 |
- Initial release |