#serial-port #serial #modem

serial-rs

A cross-platform rust serial RS232 library with overlap IO support

2 releases

0.2.1 Jul 18, 2023
0.2.0 Jul 18, 2023

#1624 in Hardware support


Used in mcuat

GPL-2.0-or-later

54KB
1K SLoC

Serial-rs

A cross-platform serial library for Rust

The main purpose of this library was to have a working serial library for Linux/Windows/OSX that works consistently between platforms, has overlapped IO on Windows, and also does not reboot devices when connecting (Arduino or ESP32).

This library follows the API and behaviour of pyserial

Supported platforms

Windows Linux OSX BSD Android IOS
Yes Yes Yes No No No

lib.rs:

serial-rs is a cross-platform serial library A lot of the code here is based on the Pyserial project

Dependencies

~4–5MB
~91K SLoC