serial2 0.2.34

Cross platform serial ports
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

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

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

[[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"

[[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"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

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

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

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

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

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