forked from RustCrypto/utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
31 lines (26 loc) · 1.1 KB
/
Cargo.toml
File metadata and controls
31 lines (26 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "cpufeatures"
version = "0.3.0"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
documentation = "https://docs.rs/cpufeatures"
readme = "README.md"
repository = "https://github.com/RustCrypto/utils"
license = "MIT OR Apache-2.0"
keywords = ["cpuid", "target-feature"]
categories = ["hardware-support", "no-std"]
description = """
Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets,
with no_std support and support for mobile targets including Android and iOS
"""
[target.'cfg(all(target_arch = "aarch64", target_vendor = "apple"))'.dependencies]
libc = { version = "0.2.155", default-features = false }
[target.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.dependencies]
libc = { version = "0.2.155", default-features = false }
[target.'cfg(all(target_arch = "loongarch64", target_os = "linux"))'.dependencies]
libc = { version = "0.2.155", default-features = false }
[target.'cfg(all(target_arch = "aarch64", target_os = "android"))'.dependencies]
libc = { version = "0.2.155", default-features = false }
[lints]
workspace = true