nxfetch 0.3.0

A minimal, fast and batteries included fetcher!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::MicroFetcher;
use crate::oracles::CPU_NAME;

pub struct CPU;
impl MicroFetcher for CPU {
    fn get_type(&self) -> &str {
        "CPU"
    }
    fn get_name(&self) -> &str {
        "cpu"
    }
    fn get_text(&self) -> &str {
        &CPU_NAME
    }
}