2017-11-20 16:58:31 +01:00
|
|
|
[package]
|
2019-01-21 16:59:10 +01:00
|
|
|
name = "std_detect"
|
2019-04-17 14:22:08 +02:00
|
|
|
version = "0.1.5"
|
2018-11-09 13:28:09 +01:00
|
|
|
authors = [
|
|
|
|
|
"Alex Crichton <alex@alexcrichton.com>",
|
|
|
|
|
"Andrew Gallant <jamslam@gmail.com>",
|
|
|
|
|
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
|
|
|
|
|
]
|
2019-01-30 11:02:56 +01:00
|
|
|
description = "`std::detect` - Rust's standard library run-time CPU feature detection."
|
2019-07-08 23:21:37 +02:00
|
|
|
homepage = "https://github.com/rust-lang/stdarch"
|
|
|
|
|
repository = "https://github.com/rust-lang/stdarch"
|
2017-11-20 16:58:31 +01:00
|
|
|
readme = "README.md"
|
2019-01-21 16:59:10 +01:00
|
|
|
keywords = ["std", "run-time", "feature", "detection"]
|
2018-02-18 10:07:35 +09:00
|
|
|
categories = ["hardware-support"]
|
2022-03-17 03:55:51 -07:00
|
|
|
license = "MIT OR Apache-2.0"
|
2025-02-09 10:13:55 -08:00
|
|
|
edition = "2024"
|
2017-11-20 16:58:31 +01:00
|
|
|
|
|
|
|
|
[badges]
|
2019-07-08 23:21:37 +02:00
|
|
|
is-it-maintained-issue-resolution = { repository = "rust-lang/stdarch" }
|
|
|
|
|
is-it-maintained-open-issues = { repository = "rust-lang/stdarch" }
|
2017-11-20 16:58:31 +01:00
|
|
|
maintenance = { status = "experimental" }
|
|
|
|
|
|
2018-02-18 10:07:35 +09:00
|
|
|
[dependencies]
|
2022-09-11 15:47:52 +08:00
|
|
|
cfg-if = "1.0.0"
|
2018-02-18 10:07:35 +09:00
|
|
|
|
2021-03-18 20:36:40 +00:00
|
|
|
# When built as part of libstd
|
|
|
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
|
|
|
|
compiler_builtins = { version = "0.1.2", optional = true }
|
|
|
|
|
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
|
|
|
|
|
|
2024-04-19 16:46:32 -04:00
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
|
|
|
libc = { version = "0.2.0", optional = true, default-features = false }
|
|
|
|
|
|
2019-02-07 22:56:23 +01:00
|
|
|
[features]
|
2019-09-18 09:09:28 +02:00
|
|
|
default = [ "std_detect_dlsym_getauxval", "std_detect_file_io" ]
|
2021-03-18 20:36:40 +00:00
|
|
|
std_detect_file_io = [ "libc" ]
|
2019-09-17 15:36:23 +02:00
|
|
|
std_detect_dlsym_getauxval = [ "libc" ]
|
2021-03-18 20:36:40 +00:00
|
|
|
rustc-dep-of-std = [
|
|
|
|
|
"core",
|
|
|
|
|
"compiler_builtins",
|
|
|
|
|
"alloc",
|
|
|
|
|
]
|