mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-03 00:00:05 +02:00
committed by
Lucio Franco
parent
86de4baacc
commit
0f11d56a3c
@@ -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)
|
||||
|
||||
|
||||
@@ -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].
|
||||
|
||||
Reference in New Issue
Block a user