# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "serial-io" version = "0.3.0" authors = ["Mario Reder ", "Zac Berkowitz "] description = "A serial port implementation" homepage = "https://github.com/tarnadas/serial-io-rs" documentation = "http://docs.rs/serial-io" readme = "README.md" keywords = ["rs232", "serial", "mio", "tokio"] categories = ["asynchronous", "hardware-support"] license = "MIT" repository = "https://github.com/tarnadas/serial-io-rs" [package.metadata.docs.rs] features = ["tokio"] [[example]] name = "serial_printline" path = "examples/serial_printline.rs" [[example]] name = "tokio" path = "examples/tokio.rs" required-features = ["tokio"] [dependencies.futures] version = "0.3" optional = true [dependencies.mio] version = "^0.7" features = ["os-ext"] [dependencies.serialport] version = "4" default-features = false [dependencies.tokio_crate] version = "1" features = ["net"] optional = true default-features = false package = "tokio" [dev-dependencies.bytes] version = "1" [dev-dependencies.tokio-util] version = "0.6" features = ["codec"] [dev-dependencies.tokio_crate] version = "1" features = ["macros", "rt"] package = "tokio" [features] default = ["libudev"] libudev = ["serialport/libudev"] tokio = ["tokio_crate", "futures"] [target."cfg(unix)".dependencies.nix] version = "0.21" [target."cfg(windows)".dependencies.mio-named-pipes] version = "0.1.5" [target."cfg(windows)".dependencies.winapi] version = "0.3" features = ["commapi", "handleapi", "winbase"]