# 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-tokio" version = "0.1.14" build = false publish = ["crates-io"] autobins = false autoexamples = false autotests = false autobenches = false description = "cross platform serial ports for tokio based on the serial2 crate" documentation = "https://docs.rs/serial2-tokio" readme = "README.md" keywords = [ "serial", "serial-port", "COM-port", "RS232", "tty", ] categories = [ "hardware-support", "network-programming", "os", "science::robotics", "asynchronous", ] license = "BSD-2-Clause OR Apache-2.0" repository = "https://github.com/de-vri-es/serial2-tokio-rs" [package.metadata.docs.rs] features = [ "doc", "doc-cfg", ] [lib] name = "serial2_tokio" path = "src/lib.rs" [[example]] name = "serial-cat" path = "examples/serial-cat.rs" [dependencies.serial2] version = "0.2.28" [dependencies.tokio] version = "1.32.0" features = ["net"] default-features = false [dev-dependencies.serial2] version = "0.2.22" features = ["rs4xx"] [dev-dependencies.tokio] version = "1.32.0" features = [ "macros", "rt", "io-std", "io-util", ] [features] doc = [ "tokio/io-util", "serial2/doc", ] doc-cfg = ["serial2/doc-cfg"] rs4xx = ["serial2/rs4xx"] serde = ["serial2/serde"] unix = ["serial2/unix"] windows = ["serial2/windows"] [target."cfg(unix)".dependencies.libc] version = "0.2.148" [target."cfg(windows)".dependencies.winapi] version = "0.3.9" features = ["winerror"]