#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

#1438 in Rust patterns

Download history 66/week @ 2024-03-03 76/week @ 2024-03-10 97/week @ 2024-03-17 73/week @ 2024-03-24 100/week @ 2024-03-31 57/week @ 2024-04-07 84/week @ 2024-04-14 100/week @ 2024-04-21 86/week @ 2024-04-28 62/week @ 2024-05-05 59/week @ 2024-05-12 65/week @ 2024-05-19 59/week @ 2024-05-26 64/week @ 2024-06-02 40/week @ 2024-06-09 62/week @ 2024-06-16

231 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