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
48
49
50
51
//! **E**xtensions for the rust **S**tandard library and **T**okio.
//!
//! # Feature flags
//!
//! **The default feature will not enable anything** (based on the principle of minimum
//! dependency). At the same time, each top-level module has a feature flag with the same name
//! (currently including: `collections`, `future`, `process`, `result`, `slice`, `sync`, `task`, `thread`).
//!
//! There is also a feature flag called `full` that enables all features and introduces all
//! optional dependencies.
//!
//! In addition, there are some optional feature flags as follows:
//!
//! - `signal`: Enables `ctrl-c` signal processing in the [`task::graceful`] module.
//! - `task_tracker`: Enables the [`task::task_tracker`] module.
//! - `indexmap`: Implement [`collections::MapExt`] for [`indexmap::IndexMap`].
//! - `serde`: Enables [`serde`] support for the entire crate.
pub use tokio;
/// Extensions to the [`std::collections`] module.
/// Extensions to the [`std::future`] module.
/// Extensions to the [`std::process`] & [`tokio::process`] module.
/// Extensions to the [`std::result`] module.
/// Extensions to the [`std::slice`] module.
/// Extensions to the [`std::sync`] & [`tokio::sync`] module.
/// Extensions to the [`std::task`] & [`tokio::task`] module.
/// Extensions to the [`std::thread`] module.
pub use AnyRes;