#serial #hardware #system #rs232

serial-windows

Serial port implementation for Windows

1 unstable release

Uses old Rust 2015

0.4.0 Jul 2, 2017

#59 in Windows APIs

Download history 645/week @ 2020-12-25 510/week @ 2021-01-01 804/week @ 2021-01-08 570/week @ 2021-01-15 763/week @ 2021-01-22 494/week @ 2021-01-29 576/week @ 2021-02-05 358/week @ 2021-02-12 378/week @ 2021-02-19 408/week @ 2021-02-26 448/week @ 2021-03-05 323/week @ 2021-03-12 299/week @ 2021-03-19 379/week @ 2021-03-26 340/week @ 2021-04-02 380/week @ 2021-04-09

2,430 downloads per month
Used in 43 crates (via serial)

MIT license

56KB
843 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