serial2 0.2.30

Cross platform serial ports
Documentation
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dev-dependencies.assert2]
version = "0.3.11"

[dev-dependencies.serde_json]
version = "1.0.108"

[[example]]
name = "list-ports"
path = "examples/list-ports.rs"

[[example]]
name = "rs485"
path = "examples/rs485.rs"
required-features = ["rs4xx"]

[[example]]
name = "serial-cat"
path = "examples/serial-cat.rs"

[features]
doc = []
doc-cfg = []
rs4xx = []
serde = ["dep:serde"]
unix = []
windows = []

[lib]
name = "serial2"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support", "network-programming", "os", "science::robotics"]
description = "Cross platform serial ports"
documentation = "https://docs.rs/serial2"
edition = "2021"
keywords = ["serial", "serial-port", "COM-port", "RS232", "tty"]
license = "BSD-2-Clause OR Apache-2.0"
name = "serial2"
publish = ["crates-io"]
readme = "README.md"
repository = "https://github.com/de-vri-es/serial2-rs"
version = "0.2.30"

[package.metadata.docs.rs]
features = ["doc-cfg", "doc"]

[target."cfg(unix)".dependencies.cfg-if]
version = "1.0.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2.109"

[target."cfg(windows)".dependencies.winapi]
features = ["commapi", "fileapi", "handleapi", "ioapiset", "std", "synchapi", "winbase", "winerror", "winreg"]
version = "0.3.9"

[[test]]
name = "assert_traits"
path = "tests/assert_traits.rs"

[[test]]
name = "conversions"
path = "tests/conversions.rs"

[[test]]
name = "pair"
path = "tests/pair.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"