lscpu 1.0.0

Implementation of lscpu in rust
Documentation

lscpu

Implementation of lscpu in rust

Run a std example

cargo run --example std

This code can be runned also in a no-std environment but you will need to figure out how to print the String :)

Preview

use lscpu::lscpu;

fn main() {
    println!("{}", lscpu());
}