NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2352 most downloaded on crates.io
Deprecated in favor of `tokio-naitve-tls`. An implementation of TLS/SSL streams for Tokio giving an implementation of TLS for nonblocking I/O streams.
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 7 months
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
14 releases · first in 2016
This release fixes an use-after-free in the IO driver. Additionally, the read_buf and write_buf methods have been added back to the IO traits, as the
This release fixes an use-after-free in the IO driver. Additionally, the read_buf
and write_buf methods have been added back to the IO traits, as the bytes crate
is now on track to reach version 1.0 together with Tokio.
One column per quarter.
This represents a 1.0 beta release. APIs are polished and future-proofed. APIs not included for 1.0 stabilization have been removed.
This represents a 1.0 beta release. APIs are polished and future-proofed. APIs not included for 1.0 stabilization have been removed.
Biggest changes are:
rt-core and rt-util are combined to rtrt-threaded is renamed to rt-multi-thread to match builder APItcp, udp, uds, dns are combined to net.parking_lot is included with fullAsyncRead trait now takes ReadBuf in order to safely handle reading
into uninitialized memory (#2758).Runtime::block_on now takes &self (#2782).watch reworked to decouple receiving a change notification from
receiving the value (#2814, #2806).Notify::notify is renamed to notify_one (#2822).Child::kill is now an async fn that cleans zombies (#2823).const fn constructors as possible (#2833, #2790)&self (#2828, #2919, #2934).mpsc channel supports send with &self (#2861).delay_for and delay_until to sleep and sleep_until (#2826).mio 0.7 (#2893).AsyncSeek trait is tweaked (#2885).File operations take &self (#2930).#[tokio::main] macro polish (#2876)Runtime::enter uses an RAII guard instead of a closure (#2954).from_std function on all sockets no longer sets socket into non-blocking mode (#2893)map function to lock guards (#2445).blocking_recv and blocking_send fns to mpsc for use outside of Tokio (#2685).Builder::thread_name_fn for configuring thread names (#1921).FromRawFd and FromRawHandle for File (#2792).Child::wait and Child::try_wait (#2796).task::JoinHandle::abort forcibly cancels a spawned task (#2474).RwLock write guard to read guard downgrading (#2733).poll_* functions that take &self to all net types (#2845)get_mut() for Mutex, RwLock (#2856).mpsc::Sender::closed() waits for Receiver half to close (#2840).mpsc::Sender::is_closed() returns true if Receiver half is closed (#2726).iter and iter_mut to StreamMap (#2890).AsRawSocket on windows (#2911).TcpSocket creates a socket without binding or listening (#2920).AsyncRead, AsyncWrite traits (#2882).mio is removed from the public API. PollEvented and Registration are
removed (#2893).bytes from public API. Buf and BufMut implementation are
removed (#2908).DelayQueue is moved to tokio-util (#2897).stdout and stderr buffering on windows (#2734).Move to futures-*-preview 0.3.0-alpha.19.
futures-*-preview 0.3.0-alpha.19.pin-project 0.4.TlsStream::get_ref and TlsStream::get_mut ([#1537]).
TlsStream::get_ref and TlsStream::get_mut ([#1537]).### Changed - Track tokio 0.2.0-alpha.4.
tokio 0.2.0-alpha.4.Update futures dependency to 0.3.0-alpha.18.
futures dependency to 0.3.0-alpha.18.Switch to async, await, and std::future.
async, await, and std::future.API docs for TcpListener::incoming, UnixListener::incoming ([#1831]).
A major breaking change. Most implementation and APIs have changed one way or another. This changelog entry contains a highlight
A major breaking change. Most implementation and APIs have changed one way or another. This changelog entry contains a highlight
async / await.tokio-* crates are collapsed into this crate.tokio::spawn returns a JoinHandle.bytes 0.5tokio::codec is moved to tokio-util.timer and net drivers are removed, use Runtime insteadcurrent_thread runtime is removed, use tokio::runtime::Runtime with
basic_scheduler instead.Shutdown the Runtime when the handle is dropped ([#214])
Fix CurrentThread::turn to block on idle ([#212]).
CurrentThread::turn to block on idle (#212).Introduce Tokio Runtime ([#141])
CurrentThread for more flexible usage of current thread executor (#141).- Doc fixes
Initial crate released based on RFC.
Your coding agent can read these notes before it upgrades. Set up the MCP server →