| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "cpufeatures" |
| 15 |
version = "0.2.17" |
| 16 |
authors = ["RustCrypto Developers"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = """ |
| 24 |
Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets, |
| 25 |
with no_std support and support for mobile targets including Android and iOS |
| 26 |
""" |
| 27 |
documentation = "https://docs.rs/cpufeatures" |
| 28 |
readme = "README.md" |
| 29 |
keywords = [ |
| 30 |
"cpuid", |
| 31 |
"target-feature", |
| 32 |
] |
| 33 |
categories = [ |
| 34 |
"hardware-support", |
| 35 |
"no-std", |
| 36 |
] |
| 37 |
license = "MIT OR Apache-2.0" |
| 38 |
repository = "https://github.com/RustCrypto/utils" |
| 39 |
resolver = "2" |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "cpufeatures" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "aarch64" |
| 47 |
path = "tests/aarch64.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "loongarch64" |
| 51 |
path = "tests/loongarch64.rs" |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "x86" |
| 55 |
path = "tests/x86.rs" |
| 56 |
|
| 57 |
[target.aarch64-linux-android.dependencies.libc] |
| 58 |
version = "0.2.155" |
| 59 |
default-features = false |
| 60 |
|
| 61 |
[target.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.dependencies.libc] |
| 62 |
version = "0.2.155" |
| 63 |
default-features = false |
| 64 |
|
| 65 |
[target.'cfg(all(target_arch = "aarch64", target_vendor = "apple"))'.dependencies.libc] |
| 66 |
version = "0.2.155" |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[target.'cfg(all(target_arch = "loongarch64", target_os = "linux"))'.dependencies.libc] |
| 70 |
version = "0.2.155" |
| 71 |
default-features = false |