cpufetch-rs
A cross-platform Rust rewrite of cpufetch — fetches and displays detailed CPU information with colourful ASCII art.
Status: Early development (v0.0.1). Core CPU detection works, display formatting is in progress.
What it detects
- Vendor and model — Intel, AMD, Apple Silicon, ARM
- Microarchitecture — Raptor Lake, Zen 5, Firestorm, etc.
- Core topology — physical cores, logical threads
- Frequencies — base and boost clocks
- ISA extensions — SSE, AVX, AVX-512, FMA, NEON, AES, SHA, and more
- Cache hierarchy — L1i/L1d, L2, L3 sizes
- Hypervisor detection — KVM, VMware, Hyper-V, etc.
- Peak performance — theoretical GFLOP/s estimate
Platform support
| Platform | x86_64 | aarch64 |
|---|---|---|
| Linux | Full | Full |
| macOS | Full | Full (Apple Silicon) |
| Windows | Full | Planned |
| FreeBSD | Builds | Builds |
Install
From crates.io:
Or download a pre-built binary from GitHub Releases.
Build from source
Minimal build (core detection only)
Usage
Feature flags
All features are optional and gated behind Cargo features. default = ["full"] enables everything.
| Feature | What it enables |
|---|---|
cli |
Command-line argument parsing (clap) |
display |
Coloured terminal output, ASCII art |
frequency |
CPU frequency detection |
json |
JSON output format |
config |
TOML configuration file |
linux / macos / windows |
Platform-specific backends |
Development
See CONTRIBUTING.md for guidelines.
Licence
Dual-licensed under MIT and Apache 2.0.