process/lib.rs
1#![cfg_attr(docs_rs, feature(doc_cfg, doc_auto_cfg))]
2#![doc = include_str!("../README.md")]
3
4mod command;
5mod error;
6mod output;
7mod pipeline;
8
9#[doc(inline)]
10pub use crate::{
11 command::Command,
12 error::{Error, Result},
13 output::Output,
14 pipeline::Pipeline,
15};
16
17#[cfg(any(
18 all(feature = "tokio", feature = "async-std"),
19 not(any(feature = "tokio", feature = "async-std"))
20))]
21compile_error!("Either feature `tokio` or `async-std` must be enabled for this crate.");