# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "notstd_detect" version = "0.4.0" authors = [ "Alex Crichton ", "Andrew Gallant ", "Gonzalo Brito Gadeschi ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fork of std_detect - Rust's standard library run-time CPU feature detection." homepage = "https://github.com/rust-lang/stdarch" readme = "README.md" keywords = [ "std", "run-time", "feature", "detection", ] categories = ["hardware-support"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/stdarch" resolver = "1" [lib] name = "notstd_detect" path = "src/lib.rs" [[test]] name = "cpu-detection" path = "tests/cpu-detection.rs" [[test]] name = "macro_trailing_commas" path = "tests/macro_trailing_commas.rs" [[test]] name = "x86-specific" path = "tests/x86-specific.rs" [dependencies.alloc] version = "1.0.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.cfg-if] version = "1.0.0" [dependencies.compiler_builtins] version = "0.1.2" optional = true [dependencies.core] version = "1.0.0" optional = true package = "rustc-std-workspace-core" [dev-dependencies.cupid] version = "0.6.0" [features] default = [ "std_detect_dlsym_getauxval", "std_detect_file_io", ] rustc-dep-of-std = [ "core", "compiler_builtins", "alloc", ] std_detect_dlsym_getauxval = ["libc"] std_detect_env_override = ["libc"] std_detect_file_io = ["libc"] [target."cfg(not(windows))".dependencies.libc] version = "0.2.0" optional = true default-features = false [badges.is-it-maintained-issue-resolution] repository = "rust-lang/stdarch" [badges.is-it-maintained-open-issues] repository = "rust-lang/stdarch" [badges.maintenance] status = "experimental"