Files
tokio/tokio-util/src/lib.rs
T

38 lines
817 B
Rust
Raw Normal View History

#![doc(html_root_url = "https://docs.rs/tokio-util/0.4.0")]
2019-12-21 00:54:43 +03:00
#![allow(clippy::needless_doctest_main)]
2019-10-22 10:13:49 -07:00
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
unreachable_pub
)]
#![deny(intra_doc_link_resolution_failure)]
#![doc(test(
no_crate_inject,
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables))
))]
2019-11-22 15:55:10 -08:00
#![cfg_attr(docsrs, feature(doc_cfg))]
2019-10-22 10:13:49 -07:00
//! Utilities for working with Tokio.
2020-03-04 17:27:18 -05:00
//!
//! This crate is not versioned in lockstep with the core
//! [`tokio`] crate. However, `tokio-util` _will_ respect Rust's
//! semantic versioning policy, especially with regard to breaking changes.
//!
//! [`tokio`]: https://docs.rs/tokio
2019-10-22 10:13:49 -07:00
2019-11-22 15:55:10 -08:00
#[macro_use]
mod cfg;
cfg_codec! {
pub mod codec;
}
cfg_udp! {
pub mod udp;
}
cfg_compat! {
pub mod compat;
}