1 unstable release
Uses old Rust 2015
|0.4.0||Jul 2, 2017|
#164 in Unix APIs
8,824 downloads per month
Used in 104 crates (4 directly)
serial-unix crate provides a serial port implementation for Unix operating systems.
serial-unix crate is compatible with any Unix operating system that implements the termios
API. The following platforms are confirmed to be compatible:
- Linux (x86_64, armv6l)
- OS X (x86_64)
- FreeBSD (amd64)
- OpenBSD (amd64)
In general, one shouldn't need to use the
serial-unix library directly. The implementation
serial-unix is also exposed through a cross-platform API in the
The serial port type defined in
serial-unix works with any Unix TTY device. In addition to
implementing the standard serial port traits, it also implements
can be used for integrating with other I/O libraries. See
an example of using
AsRawFd for event-driven I/O.
Copyright © 2015 David Cuddeback
Distributed under the MIT License.