Crates.io | serial-unix |
lib.rs | serial-unix |
version | 0.4.0 |
source | src |
created_at | 2017-07-02 01:21:37.769136 |
updated_at | 2017-08-02 14:52:22.704919 |
description | Serial port implementation for Unix. |
homepage | https://github.com/dcuddeback/serial-rs |
repository | https://github.com/dcuddeback/serial-rs |
max_upload_size | |
id | 21517 |
size | 30,108 |
The serial-unix
crate provides a serial port implementation for Unix operating systems.
The serial-unix
crate is compatible with any Unix operating system that implements the termios
API. The following platforms are confirmed to be compatible:
In general, one shouldn't need to use the serial-unix
library directly. The implementation
provided by serial-unix
is also exposed through a cross-platform API in the serial
crate.
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 std::os::unix::io::AsRawFd
, which
can be used for integrating with other I/O libraries. See examples/poll.rs
for
an example of using AsRawFd
for event-driven I/O.
Copyright © 2015 David Cuddeback
Distributed under the MIT License.