mio-serial provides a serial port implementation for mio.
Note: At the moment this is unix (termios) only. No windows COM port yet.
Add mio-serial
to you Cargo.toml
:
toml
[dependencies]
mio-serial = "0.2"
Then add this to your crate root:
rust
extern crate mio_serial;
A few examples can be found here.