#rs232 #serial #tokio

tokio-serial

A serial port implementation for tokio

13 releases (7 stable)

4.3.3 Nov 26, 2019
4.3.3-tokio-0.2.0-alpha.2 Aug 26, 2019
3.3.0 Aug 23, 2019
3.2.14 Jun 1, 2019
0.1.0 Feb 2, 2017

#147 in Asynchronous

Download history 1206/week @ 2020-11-10 1142/week @ 2020-11-17 855/week @ 2020-11-24 1282/week @ 2020-12-01 1329/week @ 2020-12-08 1520/week @ 2020-12-15 869/week @ 2020-12-22 1194/week @ 2020-12-29 2076/week @ 2021-01-05 1629/week @ 2021-01-12 1533/week @ 2021-01-19 1034/week @ 2021-01-26 1472/week @ 2021-02-02 1562/week @ 2021-02-09 2358/week @ 2021-02-16 1443/week @ 2021-02-23

6,195 downloads per month
Used in 14 crates (12 directly)

MIT license

15KB
297 lines

tokio-serial

An implementation of serialport I/O for Tokio, an async framework for rust.

crates.io docs.rs Build Status

Usage

Add tokio-serial to you Cargo.toml:

[dependencies]
# For latest version using tokio 0.2 alpha
tokio-serial = "4.3.3-tokio-0.2.0-alpha.6"

# For version using tokio 0.1
tokio-serial = "3.3.0"

Resources

tokio.rs serialport-rs


lib.rs:

Bindings for serial port I/O and futures

This crate provides bindings between mio_serial, a mio crate for serial port I/O, and futures. The API is very similar to the bindings in mio_serial

Dependencies

~3MB
~51K SLoC