#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

#1339 in Hardware support

Download history 3/week @ 2024-02-19 26/week @ 2024-02-26 81/week @ 2024-03-11 27/week @ 2024-04-01

108 downloads per month
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

~3.5–5MB
~90K SLoC