| Crates.io | spade-serial |
| lib.rs | spade-serial |
| version | 0.1.1 |
| created_at | 2024-12-08 00:09:04.909081+00 |
| updated_at | 2025-01-05 03:42:16.479486+00 |
| description | Communications with Sprig devices over serial port |
| homepage | |
| repository | https://github.com/MacaylaMarvelous81/spade-upload |
| max_upload_size | |
| id | 1475957 |
| size | 14,777 |
Rust crate to communicate with devices running Spade, like the
Sprig console. It interacts with Read + Writers,
like those provided by the
serialport crate.
This crate can test whether the device is running a legacy Spade version and
upload games.
This crate uses a mock serial device for unit testing which emulates the
expected behavior of the device. Doc tests and integration tests test with
actual devices. The environment variable TEST_DEVICE should be set to the
device to use. For example:
TEST_DEVICE=/dev/cu.usbmodem14101 cargo test