heim-host 0.0.4

Cross-platform host information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![feature(async_await)]

use heim_common::prelude::*;
use heim_host as host;

#[runtime::main]
async fn main() -> Result<()> {
    let uptime = host::uptime().await?;

    dbg!(uptime);

    Ok(())
}