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

#18 in #unix-domain-socket

Download history 1/week @ 2024-04-04 2/week @ 2024-06-27 76/week @ 2024-07-04

78 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

~1.1–2MB
~34K SLoC