system-info 0.1.2

Library to get system information
Documentation
1
2
3
4
5
6
use system_info::cpu;

#[test]
fn should_get_cpu_num() {
    assert_ne!(cpu::count(), 0);
}