Crates.io | serial-thread |
lib.rs | serial-thread |
version | 0.0.7 |
source | src |
created_at | 2024-03-14 07:47:04.767424 |
updated_at | 2024-03-23 00:35:54.959581 |
description | Asynchronous, multithreaded serial port communication library using mpsc::cjhannels or async-channels for efficient data handling. |
homepage | |
repository | https://github.com/pythcoiner/serial-thread-rust |
max_upload_size | |
id | 1173099 |
size | 66,715 |
serial-thread
is a Rust library designed to facilitate serial port communication in a multithreaded environment.
It leverages asynchronous/mpsc channels for efficient handling of serial data, suitable for applications that require
concurrent processing of serial port input/output.
This lib is in early development stage, API not yet clearly defined and breaking changes will happen in upcoming releases.
Add this to your Cargo.toml
:
[dependencies]
serial-thread = "0.0.7"
or
cargo add serial_thread
A usage example can be found in /src/example