heim_host/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Host system information.
//!
//! This module is enabled with the `host` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-host/0.0.11")]
#![deny(
    unused,
    unused_imports,
    unused_features,
    bare_trait_objects,
    future_incompatible,
    missing_debug_implementations,
    missing_docs,
    nonstandard_style,
    dead_code,
    deprecated
)]
#![warn(
    trivial_casts,
    trivial_numeric_casts,
    unused_extern_crates,
    unused_import_braces,
    unused_results
)]
#![allow(clippy::missing_safety_doc)]

#[cfg(target_os = "windows")]
#[macro_use]
extern crate winapi;

pub use platforms::target::Arch;

mod sys;

mod boot_time;
pub mod os;
mod platform;
mod uptime;
mod users;

pub use self::boot_time::*;
pub use self::platform::*;
pub use self::uptime::*;
pub use self::users::*;

pub use heim_common::units::Time;
pub use heim_common::Pid;