title: How to work with a serial port in Rust?
body: <p>I need to perform a simple exchange via serial port in my program. I cannot find any working examples or documentation related to serial ports. I need to open a serial port, configure a port (set speed, parity, stopbits, etc), write/read binary data and then close is. </p>
  
  <p>I tried to use <a href="https://github.com/japaric/serial.rs" rel="nofollow noreferrer">https://github.com/japaric/serial.rs</a>, but this library is outdated (it doesn't even compile on Rust 1.0). Even then, this library only provided functionally on how to configure the serial port but not to use it.</p>