Skip to content

Commit 66c891d

Browse files
authored
cpufeatures v0.2.2 (#753)
1 parent 9777567 commit 66c891d

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cpufeatures/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ 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.2 (2022-03-18)
9+
### Added
10+
- Support for Android on `aarch64` ([#752])
11+
12+
### Removed
13+
- Vestigial code around `crypto` target feature ([#600])
14+
15+
[#600]: https://github.com/RustCrypto/utils/pull/600
16+
[#752]: https://github.com/RustCrypto/utils/pull/752
17+
818
## 0.2.1 (2021-08-26)
919
### Changed
1020
- Revert [#583] "Use from_bytes_with_nul for string check" ([#597])

cpufeatures/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "cpufeatures"
3-
version = "0.2.1" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.2.2" # Also update html_root_url in lib.rs when bumping this
44
description = """
5-
Lightweight and efficient no-std compatible alternative to the
6-
is_x86_feature_detected! macro
5+
Lightweight runtime CPU feature detection for x86/x86_64 and aarch64 with
6+
no_std support and support for mobile targets including Android and iOS
77
"""
88
authors = ["RustCrypto Developers"]
99
license = "MIT OR Apache-2.0"

cpufeatures/README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@
77
[![Project Chat][chat-image]][chat-link]
88
[![Build Status][build-image]][build-link]
99

10-
Lightweight and efficient `no_std` compatible alternative to the
11-
`is_x86_feature_detected!` macro providing runtime CPU feature detection
12-
for x86/x86_64 and ARM64 CPUs.
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.
1316

1417
[Documentation][docs-link]
1518

1619
## Supported architectures
1720

18-
### `aarch64`: Linux and macOS/M4 only
21+
### `aarch64`: Android, iOS, Linux, and macOS/M4 only
1922

20-
Note: ARM64 does not support OS-independent feature detection
23+
Note: ARM64 does not support OS-independent feature detection, so support must
24+
be implemented on an OS-by-OS basis.
2125

2226
Target features:
2327

cpufeatures/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
#![no_std]
5757
#![doc(
5858
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
59-
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
60-
html_root_url = "https://docs.rs/cpufeatures/0.2.1"
59+
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
6160
)]
6261

6362
#[cfg(all(target_arch = "aarch64"))]

0 commit comments

Comments
 (0)