File tree Expand file tree Collapse file tree 24 files changed +120
-24
lines changed Expand file tree Collapse file tree 24 files changed +120
-24
lines changed Original file line number Diff line number Diff line change 22
33Asynchronous stream of byte buffers
44
5+ >  ** Note:**  This crate has been ** deprecated in tokio 0.2.x** .
6+ 
57[ Documenation] ( https://docs.rs/tokio-buf ) 
68
79## Usage  
Original file line number Diff line number Diff line change 33
44//! Asynchronous stream of bytes. 
55//! 
6+ //! > **Note:** This crate has been **deprecated in tokio 0.2.x**. 
7+ //! 
68//! This crate contains the `BufStream` trait and a number of combinators for 
79//! this trait. The trait is similar to `Stream` in the `futures` library, but 
810//! instead of yielding arbitrary values, it only yields types that implement 
Original file line number Diff line number Diff line change 22
33Utilities for encoding and decoding frames.
44
5- This crate is ** deprecated in tokio 0.2.x**  and has been moved into
6- [ ` tokio_util::codec ` ]  of the [ ` tokio-utils `  crate]  behind the ` codec `  feature flag.
5+ >  ** Note:**  This crate is ** deprecated in tokio 0.2.x**  and has been moved into
6+ >  [ ` tokio_util::codec ` ]  of the [ ` tokio-util `  crate]  behind the ` codec `  feature
7+ >  flag.
78
8- [ `tokio ::codec` ] : https://docs.rs/tokio-util/latest/tokio_util/codec/index.html 
9- [ `tokio-utils ` crate ] : https://docs.rs/tokio-util/latest/tokio_util 
9+ [ `tokio_util ::codec` ] : https://docs.rs/tokio-util/latest/tokio_util/codec/index.html 
10+ [ `tokio-util ` crate ] : https://docs.rs/tokio-util/latest/tokio_util 
1011
1112[ Documentation] ( https://docs.rs/tokio-codec ) 
1213
Original file line number Diff line number Diff line change 33
44//! Utilities for encoding and decoding frames. 
55//! 
6+ //! > **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved 
7+ //! into [`tokio_util::codec`] of the [`tokio-util` crate] behind the `codec` 
8+ //! feature flag. 
9+ //! 
10+ //! [`tokio_util::codec`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html 
11+ //! [`tokio-util` crate]: https://docs.rs/tokio-util/latest/tokio_util 
12+ //! 
613//! Contains adapters to go from streams of bytes, [`AsyncRead`] and 
714//! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`]. 
815//! Framed streams are also known as [transports]. 
Original file line number Diff line number Diff line change 22
33Single threaded executor for Tokio.
44
5+ >  ** Note:**  This crate is ** deprecated in tokio 0.2.x**  and has been moved and
6+ >  refactored into various places in the [ ` tokio ` ]  crate. The closest replacement
7+ >  is to make use of [ ` tokio::task::LocalSet::block_on ` ]  which requires the
8+ >  [ ` rt-util `  feature] .
9+ 
10+ [ `tokio` ] : https://docs.rs/tokio/latest/tokio/index.html 
11+ [ `tokio::task::LocalSet::block_on` ] : https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html#method.block_on 
12+ [ `rt-util` feature ] : https://docs.rs/tokio/latest/tokio/index.html#feature-flags 
13+ 
514[ Documentation] ( https://docs.rs/tokio-current-thread/0.1.6/tokio_current_thread/ ) 
615
716## Overview  
Original file line number Diff line number Diff line change 44//! A single-threaded executor which executes tasks on the same thread from which 
55//! they are spawned. 
66//! 
7+ //! > **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved 
8+ //! > and refactored into various places in the [`tokio`] crate. The closest 
9+ //! replacement is to make use of [`tokio::task::LocalSet::block_on`] which 
10+ //! requires the [`rt-util` feature]. 
11+ //! 
12+ //! [`tokio`]: https://docs.rs/tokio/latest/tokio/index.html 
13+ //! [`tokio::task::LocalSet::block_on`]: https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html#method.block_on 
14+ //! [`rt-util` feature]: https://docs.rs/tokio/latest/tokio/index.html#feature-flags 
715//! 
816//! The crate provides: 
917//! 
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Core I/O abstractions for the Tokio stack.
44
55[ ![ Build Status] ( https://travis-ci.org/tokio-rs/tokio-io.svg?branch=master )] ( https://travis-ci.org/tokio-rs/tokio-io ) 
66
7+ >  ** Note:**  This crate has been ** deprecated in tokio 0.2.x**  and has been moved
8+ >  into [ ` tokio::io ` ] .
9+ 
10+ [ `tokio::io` ] : https://docs.rs/tokio/latest/tokio/io/index.html 
11+ 
712[ Documentation] ( https://docs.rs/tokio-io/0.1.12/tokio_io ) 
813
914## Usage  
Original file line number Diff line number Diff line change 33
44//! Core I/O traits and combinators when working with Tokio. 
55//! 
6+ //! > **Note:** This crate has been **deprecated in tokio 0.2.x** and has been 
7+ //! > moved into [`tokio::io`]. 
8+ //! 
9+ //! [`tokio::io`]: https://docs.rs/tokio/latest/tokio/io/index.html 
10+ //! 
611//! A description of the high-level I/O combinators can be [found online] in 
712//! addition to a description of the [low level details]. 
813//! 
Original file line number Diff line number Diff line change 22
33Event loop that drives Tokio I/O resources.
44
5- This crate is ** deprecated in tokio 0.2.x**  and has been moved and refactored
6- into various places in the [ ` tokio::runtime ` ]  and [ ` tokio::io ` ]  modules of the
7- [ ` tokio ` ]  crate. The Reactor has also been renamed the "I/O Driver".
5+ >  ** Note:**  This crate is ** deprecated in tokio 0.2.x**  and has been moved and
6+ >  refactored into various places in the [ ` tokio::runtime ` ]  and [ ` tokio::io ` ] 
7+ >  modules of the [ ` tokio ` ]  crate. The Reactor has also been renamed the
8+ >  "I/O Driver".
89
910[ `tokio::runtime` ] : https://docs.rs/tokio/latest/tokio/runtime/index.html 
1011[ `tokio::io` ] : https://docs.rs/tokio/latest/tokio/io/index.html 
Original file line number Diff line number Diff line change 33
44//! Event loop that drives Tokio I/O resources. 
55//! 
6+ //! > **Note:** This crate is **deprecated in tokio 0.2.x** and has been moved 
7+ //! > and refactored into various places in the [`tokio::runtime`] and 
8+ //! > [`tokio::io`] modules of the [`tokio`] crate. The Reactor has also been 
9+ //! > renamed the "I/O Driver". 
10+ //! 
11+ //! [`tokio::runtime`]: https://docs.rs/tokio/latest/tokio/runtime/index.html 
12+ //! [`tokio::io`]: https://docs.rs/tokio/latest/tokio/io/index.html 
13+ //! [`tokio`]: https://docs.rs/tokio/latest/tokio/index.html 
14+ //! [`io-driver` feature]: https://docs.rs/tokio/0.2.9/tokio/index.html#feature-flags 
15+ //! 
616//! The reactor is the engine that drives asynchronous I/O resources (like TCP and 
717//! UDP sockets). It is backed by [`mio`] and acts as a bridge between [`mio`] and 
818//! [`futures`]. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments