summaryrefslogtreecommitdiffstats
path: root/tokio-io/src/codec/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-io/src/codec/mod.rs')
-rw-r--r--tokio-io/src/codec/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tokio-io/src/codec/mod.rs b/tokio-io/src/codec/mod.rs
index 3a80d6a3..c4dab656 100644
--- a/tokio-io/src/codec/mod.rs
+++ b/tokio-io/src/codec/mod.rs
@@ -10,6 +10,14 @@
//! [`Stream`]: #
//! [transports]: #
+// tokio_io::codec originally held all codec-related helpers. This is now intended to be in
+// tokio_codec instead. However, for backward compatibility, this remains here. When the next major
+// breaking change comes, `Encoder` and `Decoder` need to be moved to `tokio_codec`, and the rest
+// of this module should be removed.
+
+#![doc(hidden)]
+#![allow(deprecated)]
+
mod decoder;
mod encoder;
mod bytes_codec;