fact-rs 0.1.0

System facts, shipped to your door!
Documentation
1
2
3
4
5
6
7
8
9
10
pub mod kernel;
pub mod memory;
pub mod network;

use anyhow::Result;

pub trait Collector: Send + Sync {
    fn name(&self) -> &'static str;
    fn collect(&self) -> Result<serde_json::Value>;
}