1 unstable release

0.4.0 Jul 2, 2017

#62 in Windows APIs

Download history 175/week @ 2019-12-02 239/week @ 2019-12-09 310/week @ 2019-12-16 435/week @ 2019-12-23 397/week @ 2019-12-30 612/week @ 2020-01-06 396/week @ 2020-01-13 325/week @ 2020-01-20 343/week @ 2020-01-27 370/week @ 2020-02-03 413/week @ 2020-02-10 437/week @ 2020-02-17 416/week @ 2020-02-24 452/week @ 2020-03-02 413/week @ 2020-03-09 327/week @ 2020-03-16

1,145 downloads per month
Used in 24 crates (via serial)

MIT license

56KB
797 lines

Windows Serial Ports

The serial-windows crate provides a serial port implementation for the Windows operating system.

Compatibility

The serial-windows crate is compatible with recent versions of the Windows operating system. The following versions are confirmed to be compatible:

  • Windows 7 (x86_64)
  • Windows 8 (x86_64)

Usage

In general, one shouldn't need to use the serial-windows library directly. The implementation provided by serial-windows is also exposed through a cross-platform API in the serial crate.

The serial port type defined in serial-windows works with Windows COM ports. In addition to implementing the standard serial port traits, it also implements std::os::windows::io::AsRawHandle, which can be used for integrating with other I/O libraries.

License

Copyright © 2015 David Cuddeback

Distributed under the MIT License.

Dependencies