#target #cpu #specification #querying #json #name #fetch

target-cpu-fetch

Exposes a method for querying the CPU name from the current target specification JSON file

3 releases

0.1.3 Jan 29, 2021
0.1.2 Jan 29, 2021
0.1.1 Jul 24, 2020
0.1.0 Jul 2, 2020

#1415 in Rust patterns

Download history 97/week @ 2024-07-22 48/week @ 2024-07-29 58/week @ 2024-08-05 54/week @ 2024-08-12 43/week @ 2024-08-19 52/week @ 2024-08-26 38/week @ 2024-09-02 37/week @ 2024-09-09 43/week @ 2024-09-16 65/week @ 2024-09-23 70/week @ 2024-09-30 17/week @ 2024-10-07 38/week @ 2024-10-14 37/week @ 2024-10-21 35/week @ 2024-10-28 30/week @ 2024-11-04

141 downloads per month
Used in 6 crates (2 directly)

MIT license

5KB

target-cpu-utils

A Rust library and associated macros for querying the target CPU from the active target specification JSON

Crates

Crate Name Description Directory crates.io API Documentation
target-cpu-fetch Core logic for fetching the target CPU fetch https://crates.io/crates/target-cpu-fetch https://docs.rs/target-cpu-fetch
target-cpu-macro Procedural macros relating to target CPU macro https://crates.io/crates/target-cpu-macro https://docs.rs/target-cpu-macro

lib.rs:

Provides a method for querying the CPU name from the current target specification JSON passed to Rust.

See also the crate target-cpu-macro for conditional compilation support.

Dependencies

~145KB