More deprecation notices (relates #2036) (#2098)

This commit is contained in:
John-John Tedro
2020-01-14 15:36:16 -05:00
committed by Lucio Franco
parent 86de4baacc
commit 0f11d56a3c
24 changed files with 120 additions and 24 deletions
+5 -4
View File
@@ -2,11 +2,12 @@
Utilities for encoding and decoding frames.
This crate is **deprecated in tokio 0.2.x** and has been moved into
[`tokio_util::codec`] of the [`tokio-utils` crate] behind the `codec` feature flag.
> **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved into
> [`tokio_util::codec`] of the [`tokio-util` crate] behind the `codec` feature
> flag.
[`tokio::codec`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html
[`tokio-utils` crate]: https://docs.rs/tokio-util/latest/tokio_util
[`tokio_util::codec`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html
[`tokio-util` crate]: https://docs.rs/tokio-util/latest/tokio_util
[Documentation](https://docs.rs/tokio-codec)
+7
View File
@@ -3,6 +3,13 @@
//! Utilities for encoding and decoding frames.
//!
//! > **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved
//! into [`tokio_util::codec`] of the [`tokio-util` crate] behind the `codec`
//! feature flag.
//!
//! [`tokio_util::codec`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html
//! [`tokio-util` crate]: https://docs.rs/tokio-util/latest/tokio_util
//!
//! Contains adapters to go from streams of bytes, [`AsyncRead`] and
//! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`].
//! Framed streams are also known as [transports].