1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mod common;
mod core;

#[cfg(target_os = "linux")]
mod linux;
#[cfg(target_os = "macos")]
mod macos;
#[cfg(unix)]
mod unix;
#[cfg(windows)]
mod windows;

#[cfg(feature = "blocking")]
pub mod blocking;
#[cfg(feature = "tokio")]
pub mod tokio;

pub use crate::common::get_available_max_process_id;
pub use crate::core::{Config, Error, Output, Outputs, ParentProcessId, ProcessId, Result};