summaryrefslogtreecommitdiffstats
path: root/third_party/rust/tokio-util/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/tokio-util/src/lib.rs')
-rw-r--r--third_party/rust/tokio-util/src/lib.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/rust/tokio-util/src/lib.rs b/third_party/rust/tokio-util/src/lib.rs
new file mode 100644
index 0000000000..4cb54dfb35
--- /dev/null
+++ b/third_party/rust/tokio-util/src/lib.rs
@@ -0,0 +1,26 @@
+#![doc(html_root_url = "https://docs.rs/tokio-util/0.2.0")]
+#![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))
+))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
+
+//! Utilities for working with Tokio.
+
+#[macro_use]
+mod cfg;
+
+cfg_codec! {
+ pub mod codec;
+}
+
+cfg_udp! {
+ pub mod udp;
+}