[package]
edition = "2021"
name = "serialport-stream"
version = "0.1.7"
authors = ["Erkki Silvola"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async TryStream for serialport reading utilizing serialport-rs using platform-specific I/O"
homepage = "https://github.com/erkki-silvola/serialport-stream-rs"
readme = "README.md"
keywords = [
"serialport",
"async",
"stream",
"futures",
]
categories = [
"asynchronous",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/erkki-silvola/serialport-stream-rs"
[lib]
name = "serialport_stream"
path = "src/lib.rs"
[[example]]
name = "read_stream"
path = "examples/read_stream.rs"
[[example]]
name = "tokio_example"
path = "examples/tokio_example.rs"
[dependencies.futures]
version = "0.3"
features = ["std"]
[dependencies.serialport]
version = "4.9.0"
[dev-dependencies.anyhow]
version = "1.0.100"
[dev-dependencies.clap]
version = "3.1.6"
features = ["derive"]
[dev-dependencies.ctrlc]
version = "3.5.1"
[dev-dependencies.futures-lite]
version = "2.0"
[dev-dependencies.tokio]
version = "1.41"
features = [
"rt",
"rt-multi-thread",
"macros",
"signal",
]
[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = ["poll"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Threading",
"Win32_Security",
"Win32_Devices_Communication",
"Win32_System_SystemServices",
]