Skip to content

Commit 8d69e91

Browse files
committed
rust: update sha2 to 0.9.9
1 parent 8e7c4e0 commit 8d69e91

File tree

250 files changed

+100546
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+100546
-245
lines changed

src/rust/Cargo.lock

Lines changed: 15 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"files":{"CHANGELOG.md":"b451593f0440f2bbc63cd2e98535614151e9ab12f877dd8bd9f60dd3ca2b9a36","Cargo.toml":"2b7510bf73cf20e993411333b2301574d72dd6d6ce3a1c558b5c458b12d8cd33","LICENSE-APACHE":"a9040321c3712d8fd0b09cf52b17445de04a23a10165049ae187cd39e5c86be5","LICENSE-MIT":"904801faf3f1850328af8e1aa1047b9190cc22ed40df5c87f2d93d17f847ef67","README.md":"c991281c8d1525279b90dffd452bd731116eebc456ee3a23b9c997df402e8bf7","src/aarch64.rs":"697e8048929cbee0248657da956e8cc627d59ee3fc96729068fec6e7b089b7b6","src/lib.rs":"5b2e7c89dab1d2bed08a4fe09aaf9c5f17ccaa8316d31d5af545b86e7d6a6947","src/miri.rs":"acf1a7e7ae31a1de07941084c6b589a2d4c6ea5f87012c811592c865d04c02cb","src/x86.rs":"380575e3383ece930fea661c6f54201b04c23e4753154dab96031290f398709b","tests/aarch64.rs":"bdabbe67316c128b57003ba5faa07707b5f339b1f3e984da4bc383cc93c2bedd","tests/x86.rs":"fcf476ca6ebd0845ab547cea4fe40c2ba2a2324c024264d9a86f666586f3a480"},"package":"28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.2.5 (2022-09-04)
9+
### Fixed
10+
- Add workaround for [CPUID bug] in `std` ([#800])
11+
12+
[CPUID bug]: https://github.com/rust-lang/rust/issues/101346
13+
[#800]: https://github.com/RustCrypto/utils/pull/800
14+
15+
## 0.2.4 (2022-08-22)
16+
- Re-release v0.2.3 without any changes to fix [#795] ([#796])
17+
18+
[#795]: https://github.com/RustCrypto/utils/issues/795
19+
[#796]: https://github.com/RustCrypto/utils/pull/796
20+
21+
## 0.2.3 (2022-08-18)
22+
### Changed
23+
- Update `libc` version to v0.2.95 ([#789])
24+
- Disable all target features under MIRI ([#779])
25+
- Check AVX availability when detecting AVX2 and FMA ([#792])
26+
27+
[#779]: https://github.com/RustCrypto/utils/pull/779
28+
[#789]: https://github.com/RustCrypto/utils/pull/789
29+
[#792]: https://github.com/RustCrypto/utils/pull/792
30+
31+
## 0.2.2 (2022-03-18)
32+
### Added
33+
- Support for Android on `aarch64` ([#752])
34+
35+
### Removed
36+
- Vestigial code around `crypto` target feature ([#600])
37+
38+
[#600]: https://github.com/RustCrypto/utils/pull/600
39+
[#752]: https://github.com/RustCrypto/utils/pull/752
40+
41+
## 0.2.1 (2021-08-26)
42+
### Changed
43+
- Revert [#583] "Use from_bytes_with_nul for string check" ([#597])
44+
45+
[#583]: https://github.com/RustCrypto/utils/pull/583
46+
[#597]: https://github.com/RustCrypto/utils/pull/597
47+
48+
## 0.2.0 (2021-08-26) [YANKED]
49+
### Removed
50+
- AArch64 `crypto` target feature ([#594])
51+
52+
[#594]: https://github.com/RustCrypto/utils/pull/594
53+
54+
## 0.1.5 (2021-06-21)
55+
### Added
56+
- iOS support ([#435], [#501])
57+
58+
### Changed
59+
- Map `aarch64` HWCAPs to target features; add `crypto` ([#456])
60+
61+
[#435]: https://github.com/RustCrypto/utils/pull/435
62+
[#456]: https://github.com/RustCrypto/utils/pull/456
63+
[#501]: https://github.com/RustCrypto/utils/pull/501
64+
65+
## 0.1.4 (2021-05-14)
66+
### Added
67+
- Support compiling on non-Linux/macOS aarch64 targets ([#408])
68+
69+
[#408]: https://github.com/RustCrypto/utils/pull/408
70+
71+
## 0.1.3 (2021-05-13)
72+
### Removed
73+
- `neon` on `aarch64` targets: already enabled by default ([#406])
74+
75+
[#406]: https://github.com/RustCrypto/utils/pull/406
76+
77+
## 0.1.2 (2021-05-13) [YANKED]
78+
### Added
79+
- `neon` feature detection on `aarch64` targets ([#403])
80+
81+
### Fixed
82+
- Support for `musl`-based targets ([#403])
83+
84+
[#403]: https://github.com/RustCrypto/utils/pull/403
85+
86+
## 0.1.1 (2021-05-06)
87+
### Added
88+
- `aarch64` support for Linux and macOS/M4 targets ([#393])
89+
90+
[#393]: https://github.com/RustCrypto/utils/pull/393
91+
92+
## 0.1.0 (2021-04-29)
93+
- Initial release
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2+
#
3+
# When uploading crates to the registry Cargo will automatically
4+
# "normalize" Cargo.toml files for maximal compatibility
5+
# with all versions of Cargo and also rewrite `path` dependencies
6+
# to registry (e.g., crates.io) dependencies.
7+
#
8+
# If you are reading this file be aware that the original Cargo.toml
9+
# will likely look very different (and much more reasonable).
10+
# See Cargo.toml.orig for the original contents.
11+
12+
[package]
13+
edition = "2018"
14+
name = "cpufeatures"
15+
version = "0.2.5"
16+
authors = ["RustCrypto Developers"]
17+
description = """
18+
Lightweight runtime CPU feature detection for x86/x86_64 and aarch64 with
19+
no_std support and support for mobile targets including Android and iOS
20+
"""
21+
documentation = "https://docs.rs/cpufeatures"
22+
readme = "README.md"
23+
keywords = [
24+
"cpuid",
25+
"target-feature",
26+
]
27+
categories = ["no-std"]
28+
license = "MIT OR Apache-2.0"
29+
repository = "https://github.com/RustCrypto/utils"
30+
31+
[target.aarch64-apple-darwin.dependencies.libc]
32+
version = "0.2.95"
33+
34+
[target.aarch64-linux-android.dependencies.libc]
35+
version = "0.2.95"
36+
37+
[target."cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))".dependencies.libc]
38+
version = "0.2.95"

src/rust/vendor/cpufeatures/README.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# [RustCrypto]: CPU Feature Detection
2+
3+
[![crate][crate-image]][crate-link]
4+
[![Docs][docs-image]][docs-link]
5+
![Apache2/MIT licensed][license-image]
6+
![Rust Version][rustc-image]
7+
[![Project Chat][chat-image]][chat-link]
8+
[![Build Status][build-image]][build-link]
9+
10+
Lightweight and efficient runtime CPU feature detection for `aarch64` and
11+
`x86`/`x86_64` targets.
12+
13+
Supports `no_std` as well as mobile targets including iOS and Android,
14+
providing an alternative to the `std`-dependent `is_x86_feature_detected!`
15+
macro.
16+
17+
[Documentation][docs-link]
18+
19+
## Supported architectures
20+
21+
### `aarch64`: Android, iOS, Linux, and macOS/M4 only
22+
23+
Note: ARM64 does not support OS-independent feature detection, so support must
24+
be implemented on an OS-by-OS basis.
25+
26+
Target features:
27+
28+
- `aes`
29+
- `sha2`
30+
- `sha3`
31+
32+
Note: please open a GitHub Issue to request support for additional features.
33+
34+
### `x86`/`x86_64`: OS independent and `no_std`-friendly
35+
36+
Target features:
37+
38+
- `adx`
39+
- `aes`
40+
- `avx`
41+
- `avx2`
42+
- `bmi1`
43+
- `bmi2`
44+
- `fma`
45+
- `mmx`
46+
- `pclmulqdq`
47+
- `popcnt`
48+
- `rdrand`
49+
- `rdseed`
50+
- `sgx`
51+
- `sha`
52+
- `sse`
53+
- `sse2`
54+
- `sse3`
55+
- `sse4.1`
56+
- `sse4.2`
57+
- `ssse3`
58+
59+
## License
60+
61+
Licensed under either of:
62+
63+
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
64+
* [MIT license](http://opensource.org/licenses/MIT)
65+
66+
at your option.
67+
68+
### Contribution
69+
70+
Unless you explicitly state otherwise, any contribution intentionally submitted
71+
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
72+
dual licensed as above, without any additional terms or conditions.
73+
74+
[//]: # (badges)
75+
76+
[crate-image]: https://img.shields.io/crates/v/cpufeatures.svg
77+
[crate-link]: https://crates.io/crates/cpufeatures
78+
[docs-image]: https://docs.rs/cpufeatures/badge.svg
79+
[docs-link]: https://docs.rs/cpufeatures/
80+
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
81+
[rustc-image]: https://img.shields.io/badge/rustc-1.40+-blue.svg
82+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
83+
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
84+
[build-image]: https://github.com/RustCrypto/utils/workflows/cpufeatures/badge.svg?branch=master&event=push
85+
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/cpufeatures.yml
86+
87+
[//]: # (general links)
88+
89+
[RustCrypto]: https://github.com/rustcrypto
90+
[RustCrypto/utils#378]: https://github.com/RustCrypto/utils/issues/378

0 commit comments

Comments
 (0)