#![doc(html_root_url = "https://docs.rs/heim-common/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)]
mod errors;
mod macros;
#[doc(hidden)]
pub mod sys;
pub mod units;
#[doc(hidden)]
pub mod utils;
pub use self::errors::{Error, Result};
#[cfg(unix)]
pub type Pid = libc::pid_t;
#[cfg(target_os = "windows")]
pub type Pid = winapi::shared::minwindef::DWORD;
pub mod prelude {
pub use super::errors::{Error, Result};
pub use super::wrap;
pub mod futures {
pub use futures_util::ready;
pub use futures_util::task;
pub mod future {
pub use futures_core::future::*;
pub use futures_util::future::*;
}
pub mod stream {
pub use futures_core::stream::*;
pub use futures_util::stream::*;
}
}
pub use self::futures::future::{
self, BoxFuture, FusedFuture, Future, FutureExt, TryFutureExt,
};
pub use self::futures::stream::{
self, BoxStream, FusedStream, Stream, StreamExt, TryStreamExt,
};
}