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::OS_NAME;

pub struct OS;
impl MicroFetcher for OS {
    fn get_type(&self) -> &str {
        "OS"
    }
    fn get_name(&self) -> &str {
        "os"
    }
    fn get_text(&self) -> &str {
        &OS_NAME
    }
}