mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
chore: remove dead files (#1718)
The `codec` module has been moved to `tokio-util`. Some files were left, but they were never activated.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
//! Utilities for encoding and decoding frames.
|
||||
//!
|
||||
//! 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].
|
||||
//!
|
||||
//! [`AsyncRead`]: ../io/trait.AsyncRead.html
|
||||
//! [`AsyncWrite`]: ../io/trait.AsyncWrite.html
|
||||
//! [`Sink`]: https://docs.rs/futures/0.1/futures/sink/trait.Sink.html
|
||||
//! [`Stream`]: https://docs.rs/futures/0.1/futures/stream/trait.Stream.html
|
||||
//! [transports]: https://tokio.rs/docs/going-deeper/frames/
|
||||
|
||||
pub use tokio_codec::{
|
||||
length_delimited, BytesCodec, Decoder, Encoder, Framed, FramedParts, FramedRead, FramedWrite,
|
||||
LengthDelimitedCodec, LengthDelimitedCodecError, LinesCodec, LinesCodecError,
|
||||
};
|
||||
@@ -87,9 +87,6 @@ macro_rules! thread_local {
|
||||
#[cfg(feature = "timer")]
|
||||
pub mod clock;
|
||||
|
||||
#[cfg(feature = "codec")]
|
||||
pub mod codec;
|
||||
|
||||
#[cfg(feature = "fs")]
|
||||
pub mod fs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user