rin-sys 0.1.4

A small library to fetch system information in linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod cpu;
pub mod ram;

use crate::{cpu::CpuInfo, ram::RamInfo};

pub fn get_ram_info() -> RamInfo {
    let ram_info = RamInfo::new();

    ram_info
}

pub fn get_cpu_info() -> CpuInfo {
    let cpu_info = CpuInfo::new();

    cpu_info
}