15 releases (5 breaking)

Uses old Rust 2015

0.6.0 Mar 11, 2017
0.5.3 Dec 7, 2016
0.5.2 Nov 9, 2016
0.2.1 Jul 16, 2016

#5 in #asyncio

30 downloads per month

MIT license

400KB
11K SLoC

asyncio - ASynchronous Input/Output library

Build Status

The asyncio is not compatible to Rust stable version (ver 1.13). Please install a Rust-nightly.

This crate is on github and can be used by adding asyncio to the dependencies in your project's Cargo.toml.

[dependencies]
rust_asio = "*"

Documentation

Features

  • Proactor design pattern based thread-safe asynchronous I/O.
  • Does not dependent on the number of threads.
  • Supported protocol is in TCP, UDP, Unix-domain socket and etc.
  • Supported timer is in system timer, steady timer.
  • Supported File descriptor socket.
  • Supported Generic protocol socket.
  • Supported Signal Handing. (Linux only)
  • Supported Serial-port

Platforms

Currently supported platforms:

  • Linux (kernel version >=2.6.27)
  • MacOS X

TODO list

  1. BSD will support.
  2. SSL will support.
  3. Windows will support.

Dependencies

~0.4–0.8MB
~16K SLoC