PackageTrack
Sign in Get early access

tokio-tls

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.

0.3.1 17M downloads/mo #2265 most downloaded on crates.io tokio-rs/tokio

What this package is like to depend on

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

0 releases in the last 12 months

see the full history below

Release timeline

14 releases · Dec 2016 to May 2020
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 0.3.1 06 May 2020
    Release notes

    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.

    Fixed

    • net: fix use-after-free (#3019).
    • fs: ensure buffered data is written on shutdown (#3009).

    Added

    • io: copy_buf() (#2884).
    • io: AsyncReadExt::read_buf(), AsyncReadExt::write_buf() for working with Buf/BufMut (#3003).
    • rt: Runtime::spawn_blocking() (#2980).
    • sync: watch::Sender::is_closed() (#2991).
    Open source →
    Release notes
    • Deprecate crate in favor of tokio-native-tls.
    Open source →
  2. 0.3.0 26 Nov 2019
    Release notes

    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:

    • I/O driver internal rewrite. The windows implementation includes significant changes.
    • Runtime API is polished, especially with how it interacts with feature flag combinations.
    • Feature flags are simplified
      • rt-core and rt-util are combined to rt
      • rt-threaded is renamed to rt-multi-thread to match builder API
      • tcp, udp, uds, dns are combined to net.
      • parking_lot is included with full

    Changes

    • meta: Minimum supported Rust version is now 1.45.
    • io: AsyncRead trait now takes ReadBuf in order to safely handle reading into uninitialized memory (#2758).
    • io: Internal I/O driver storage is now able to compact (#2757).
    • rt: Runtime::block_on now takes &self (#2782).
    • sync: watch reworked to decouple receiving a change notification from receiving the value (#2814, #2806).
    • sync: Notify::notify is renamed to notify_one (#2822).
    • process: Child::kill is now an async fn that cleans zombies (#2823).
    • sync: use const fn constructors as possible (#2833, #2790)
    • signal: reduce cross-thread notification (#2835).
    • net: tcp,udp,uds types support operations with &self (#2828, #2919, #2934).
    • sync: blocking mpsc channel supports send with &self (#2861).
    • time: rename delay_for and delay_until to sleep and sleep_until (#2826).
    • io: upgrade to mio 0.7 (#2893).
    • io: AsyncSeek trait is tweaked (#2885).
    • fs: File operations take &self (#2930).
    • rt: runtime API, and #[tokio::main] macro polish (#2876)
    • rt: Runtime::enter uses an RAII guard instead of a closure (#2954).
    • net: the from_std function on all sockets no longer sets socket into non-blocking mode (#2893)

    Added

    • sync: map function to lock guards (#2445).
    • sync: blocking_recv and blocking_send fns to mpsc for use outside of Tokio (#2685).
    • rt: Builder::thread_name_fn for configuring thread names (#1921).
    • fs: impl FromRawFd and FromRawHandle for File (#2792).
    • process: Child::wait and Child::try_wait (#2796).
    • rt: support configuring thread keep-alive duration (#2809).
    • rt: task::JoinHandle::abort forcibly cancels a spawned task (#2474).
    • sync: RwLock write guard to read guard downgrading (#2733).
    • net: add poll_* functions that take &self to all net types (#2845)
    • sync: get_mut() for Mutex, RwLock (#2856).
    • sync: mpsc::Sender::closed() waits for Receiver half to close (#2840).
    • sync: mpsc::Sender::is_closed() returns true if Receiver half is closed (#2726).
    • stream: iter and iter_mut to StreamMap (#2890).
    • net: implement AsRawSocket on windows (#2911).
    • net: TcpSocket creates a socket without binding or listening (#2920).

    Removed

    • io: vectored ops are removed from AsyncRead, AsyncWrite traits (#2882).
    • io: mio is removed from the public API. PollEvented and Registration are removed (#2893).
    • io: remove bytes from public API. Buf and BufMut implementation are removed (#2908).
    • time: DelayQueue is moved to tokio-util (#2897).

    Fixed

    • io: stdout and stderr buffering on windows (#2734).
    Open source →
    Release notes
    • Updates for tokio 0.2 release.
    Open source →
  3. 0.3.0-alpha.6 01 Oct 2019 pre-release
    Release notes
    • Move to futures-*-preview 0.3.0-alpha.19.
    • Move to pin-project 0.4.
    Open source →
  4. 0.3.0-alpha.5 19 Sep 2019 pre-release
    Release notes

    Added

    • TlsStream::get_ref and TlsStream::get_mut ([#1537]).
    Open source →
  5. 0.3.0-alpha.4 30 Aug 2019 pre-release
    Release notes

    Changed

    • Track tokio 0.2.0-alpha.4.
    Open source →
  6. 0.3.0-alpha.2 18 Aug 2019 pre-release
    Release notes

    Changed

    • Update futures dependency to 0.3.0-alpha.18.
    Open source →
  7. 0.3.0-alpha.1 08 Aug 2019 pre-release
    Release notes

    Changed

    • Switch to async, await, and std::future.
    Open source →
  8. 0.2.1 07 Jan 2019
    Release notes

    Fixes

    • API docs for TcpListener::incoming, UnixListener::incoming (#1831).

    Added

    • tokio::task::LocalSet provides a strategy for spawning !Send tasks (#1733).
    • export tokio::time::Elapsed (#1826).
    • impl AsRawFd, AsRawHandle for tokio::fs::File (#1827).
    Open source →
    Release notes
    • Implement Clone for TlsConnector and TlsAcceptor ([#777])
    Open source →
  9. 0.2.0 08 Aug 2018
    Release notes

    A major breaking change. Most implementation and APIs have changed one way or another. This changelog entry contains a highlight

    Changed

    • APIs are updated to use async / await.
    • most tokio-* crates are collapsed into this crate.
    • Scheduler is rewritten.
    • tokio::spawn returns a JoinHandle.
    • A single I/O / timer is used per runtime.
    • I/O driver uses a concurrent slab for allocating state.
    • components are made available via feature flag.
    • Use bytes 0.5
    • tokio::codec is moved to tokio-util.

    Removed

    • Standalone timer and net drivers are removed, use Runtime instead
    • current_thread runtime is removed, use tokio::runtime::Runtime with basic_scheduler instead.
    Open source →
    Release notes
    • Initial release with tokio support.
    Open source →
  10. 0.1.4 03 Jan 2018
    Release notes
    • Fix build on FreeBSD (#218)
    • Shutdown the Runtime when the handle is dropped (#214)
    • Set Runtime thread name prefix for worker threads (#232)
    • Add builder for Runtime (#234)
    • Extract TCP and UDP types into separate crates (#224)
    • Optionally support futures 0.2.
    Open source →
  11. 0.1.3 24 Jun 2017
    Release notes
    • Fix CurrentThread::turn to block on idle (#212).
    Open source →
  12. 0.1.2 15 Mar 2017
    Release notes
    • Introduce Tokio Runtime (#141)
    • Provide CurrentThread for more flexible usage of current thread executor (#141).
    • Add Lio for platforms that support it (#142).
    • I/O resources now lazily bind to the reactor (#160).
    • Extract Reactor to dedicated crate (#169)
    • Add facade to sub crates and add prelude (#166).
    • Switch TCP/UDP fns to poll_ -> Poll<...> style (#175)
    Open source →
  13. 0.1.1 24 Jan 2017
    Release notes
    • Doc fixes
    Open source →
  14. 0.1.0 21 Dec 2016
    Release notes
    • Initial crate released based on RFC.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive