32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
[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
|