Files
rayhunter/serial/Cargo.toml
oopsbagel 9af8e006b0 fix(serial): use tokio's timeout with USB bulk in/out
Replace futures_lite::future::block_on (which will block indefinitely) with
tokio::time::timeout to restore the original behaviour of this utility, where
communication over USB interface bulk endpoints times out after 1 second.
2025-03-25 16:46:35 -07:00

11 lines
259 B
TOML

[package]
name = "serial"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
nusb = "0.1.13"
tokio = { version = "1.44.1", features = ["macros", "rt", "time"] }