2 releases
0.1.1 | Apr 23, 2021 |
---|---|
0.1.0 | Apr 22, 2021 |
#7 in #act
17KB
214 lines
Serial Studio for Rust
This is a very simple Rust library to act as a data source for Serial Studio.
What is provided?
This crate provides a simple threaded TCP server for use with Serial Studio. As of now, only one connection can be handled at a time, per port.
lib.rs
:
A basic server implementation for Serial Studio
Basic usage
use serialstudio::SerialStudioSource;
// Create server
let mut server = SerialStudioSource::new();
// Start
server.start("localhost:8019".to_string());
loop {
// Do stuff
// ...
}
// Stop
server.stop();
Dependencies
~0.7–1.6MB
~34K SLoC