# 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 = "2018" name = "raw-cpuid" version = "11.2.0" authors = ["Gerd Zellweger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore." homepage = "https://github.com/gz/rust-cpuid" documentation = "https://docs.rs/raw-cpuid/" readme = "README.md" keywords = [ "cpuid", "x86", "amd64", "os", "libcore", ] categories = [ "no-std", "no-std::no-alloc", ] license = "MIT" repository = "https://github.com/gz/rust-cpuid" [lib] name = "raw_cpuid" path = "src/lib.rs" [[bin]] name = "cpuid" path = "src/bin/cpuid.rs" required-features = ["cli"] [[example]] name = "cache" path = "examples/cache.rs" [[example]] name = "cpu" path = "examples/cpu.rs" [[example]] name = "serialize_deserialize" path = "examples/serialize_deserialize.rs" required-features = ["serde_json"] [[example]] name = "topology" path = "examples/topology.rs" [[example]] name = "tsc_frequency" path = "examples/tsc_frequency.rs" [dependencies.bitflags] version = "2.0" [dependencies.clap] version = "4.2" features = ["derive"] optional = true [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.termimad] version = "0.25" optional = true [dev-dependencies.core_affinity] version = "0.8.0" [dev-dependencies.libc] version = "0.2" default-features = false [dev-dependencies.phf] version = "0.11" features = ["macros"] [dev-dependencies.rustversion] version = "1.0" [features] cli = [ "display", "clap", ] display = [ "std", "termimad", "serde_json", "serialize", ] serialize = [ "serde", "serde_derive", ] std = []