1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
//! A runtime for writing reliable, asynchronous, and slim applications.
//!
//! Tokio is an event-driven, non-blocking I/O platform for writing asynchronous
//! applications with the Rust programming language. At a high level, it
//! provides a few major components:
//!
//!
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "mod1")]
#[cfg_attr(docsrs, doc(cfg(feature = "mod1")))]
pub mod mod1;
#[cfg(feature = "mod2")]
pub mod mod2;