1[package]
2name = "std_detect"
3version = "0.1.5"
4authors = [
5 "Alex Crichton <alex@alexcrichton.com>",
6 "Andrew Gallant <jamslam@gmail.com>",
7 "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
8]
9description = "`std::detect` - Rust's standard library run-time CPU feature detection."
10homepage = "https://github.com/rust-lang/stdarch"
11repository = "https://github.com/rust-lang/stdarch"
12readme = "README.md"
13keywords = ["std", "run-time", "feature", "detection"]
14categories = ["hardware-support"]
15license = "MIT OR Apache-2.0"
16edition = "2024"
17
18[badges]
19is-it-maintained-issue-resolution = { repository = "rust-lang/stdarch" }
20is-it-maintained-open-issues = { repository = "rust-lang/stdarch" }
21maintenance = { status = "experimental" }
22
23[dependencies]
24core = { version = "1.0.0", package = 'rustc-std-workspace-core' }
25alloc = { version = "1.0.0", package = 'rustc-std-workspace-alloc' }
26
27[target.'cfg(not(windows))'.dependencies]
28libc = { version = "0.2.0", optional = true, default-features = false }
29
30[features]
31default = []
32std_detect_file_io = [ "libc" ]
33std_detect_dlsym_getauxval = [ "libc" ]
34std_detect_env_override = [ "libc" ]
35