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
//! This crate provide the ability to retrieve information for profiling.
//!
//!

#![cfg_attr(test, allow(clippy::all, clippy::unwrap_used))]
#![cfg_attr(doc, feature(doc_cfg))]
#![cfg_attr(test, feature(test))]

#[cfg(test)]
extern crate test;

#[allow(warnings)]
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) mod bindings {
    include!(concat!(
        env!("OUT_DIR"),
        "/monitor_rs_ios_macos_binding.rs"
    ));
}

pub mod cpu;

pub mod mem;

pub mod io;

pub mod fd;