[[bin]]
name = "cpu_info"
path = "src/main.rs"
[dependencies.windows]
features = ["Win32_System_SystemInformation"]
optional = true
version = "0.62.2"
[features]
default = ["linux"]
linux = []
windows = ["dep:windows"]
[lib]
name = "cpu_info"
path = "src/lib.rs"
[package]
authors = ["Cristian Camilo Valencia Jurado <Cvalendb@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support", "os"]
description = "A lightweight, cross-platform Rust library to retrieve CPU vendor, model, core topology, and hybrid distribution detection using pure Rust with no external commands."
documentation = "https://docs.rs/cpu_info"
edition = "2024"
exclude = ["target/", "docs/"]
homepage = "https://github.com/CVALENDB/cpu_info"
keywords = ["cpu", "info", "hardware", "system", "topology"]
license = "MIT"
name = "cpu_info"
readme = "README.md"
repository = "https://github.com/CVALENDB/cpu_info"
version = "0.1.0"