| # 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" |
| rust-version = "1.59.0" |
| name = "serialport" |
| version = "4.7.0" |
| authors = [ |
| "Bryant Mairs <[email protected]>", |
| "Jesse Braham <[email protected]>", |
| ] |
| build = false |
| autolib = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "A cross-platform low-level serial port library." |
| documentation = "https://docs.rs/serialport" |
| readme = "README.md" |
| keywords = [ |
| "serial", |
| "hardware", |
| "system", |
| "RS232", |
| ] |
| categories = ["hardware-support"] |
| license = "MPL-2.0" |
| repository = "https://github.com/serialport/serialport-rs" |
| |
| [lib] |
| name = "serialport" |
| path = "src/lib.rs" |
| |
| [[example]] |
| name = "clear_input_buffer" |
| path = "examples/clear_input_buffer.rs" |
| |
| [[example]] |
| name = "clear_output_buffer" |
| path = "examples/clear_output_buffer.rs" |
| |
| [[example]] |
| name = "duplex" |
| path = "examples/duplex.rs" |
| |
| [[example]] |
| name = "hardware_check" |
| path = "examples/hardware_check.rs" |
| |
| [[example]] |
| name = "list_ports" |
| path = "examples/list_ports.rs" |
| |
| [[example]] |
| name = "loopback" |
| path = "examples/loopback.rs" |
| |
| [[example]] |
| name = "pseudo_terminal" |
| path = "examples/pseudo_terminal.rs" |
| |
| [[example]] |
| name = "receive_data" |
| path = "examples/receive_data.rs" |
| |
| [[example]] |
| name = "transmit" |
| path = "examples/transmit.rs" |
| |
| [[test]] |
| name = "config" |
| path = "tests/config.rs" |
| |
| [[test]] |
| name = "test_baudrate" |
| path = "tests/test_baudrate.rs" |
| |
| [[test]] |
| name = "test_serialport" |
| path = "tests/test_serialport.rs" |
| |
| [[test]] |
| name = "test_timeout" |
| path = "tests/test_timeout.rs" |
| |
| [[test]] |
| name = "test_try_clone" |
| path = "tests/test_try_clone.rs" |
| |
| [[test]] |
| name = "test_tty" |
| path = "tests/test_tty.rs" |
| |
| [dependencies.cfg-if] |
| version = "1.0.0" |
| |
| [dependencies.scopeguard] |
| version = "1.1" |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = ["derive"] |
| optional = true |
| |
| [dev-dependencies.assert_hex] |
| version = "0.4.1" |
| |
| [dev-dependencies.clap] |
| version = "3.1.6" |
| features = ["derive"] |
| |
| [dev-dependencies.envconfig] |
| version = "0.10.0" |
| |
| [dev-dependencies.libc] |
| version = ">=0.2.0, <=0.2.163" |
| |
| [dev-dependencies.os_str_bytes] |
| version = ">=6.0, <6.6.0" |
| |
| [dev-dependencies.quickcheck] |
| version = "1.0.3" |
| |
| [dev-dependencies.quickcheck_macros] |
| version = "1.0.0" |
| |
| [dev-dependencies.rstest] |
| version = "0.12.0" |
| default-features = false |
| |
| [dev-dependencies.rstest_reuse] |
| version = "0.6.0" |
| |
| [dev-dependencies.rustversion] |
| version = "1.0.16" |
| |
| [features] |
| default = ["libudev"] |
| ignore-hardware-tests = [] |
| usbportinfo-interface = [] |
| |
| [target.'cfg(all(target_os = "linux", not(target_env = "musl")))'.dependencies.libudev] |
| version = "0.3.0" |
| optional = true |
| |
| [target.'cfg(all(target_os = "linux", not(target_env = "musl")))'.dependencies.unescaper] |
| version = "0.1.3" |
| |
| [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.core-foundation] |
| version = "0.10.0" |
| |
| [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.core-foundation-sys] |
| version = "0.8.4" |
| |
| [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.io-kit-sys] |
| version = "0.4.0" |
| |
| [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.mach2] |
| version = "0.4.1" |
| |
| [target."cfg(unix)".dependencies.bitflags] |
| version = "2.4.0" |
| |
| [target."cfg(unix)".dependencies.nix] |
| version = "0.28" |
| features = [ |
| "fs", |
| "ioctl", |
| "poll", |
| "signal", |
| "term", |
| ] |
| default-features = false |
| |
| [target."cfg(windows)".dependencies.winapi] |
| version = "0.3.9" |
| features = [ |
| "cguid", |
| "commapi", |
| "errhandlingapi", |
| "fileapi", |
| "guiddef", |
| "handleapi", |
| "minwinbase", |
| "minwindef", |
| "ntdef", |
| "setupapi", |
| "winbase", |
| "winerror", |
| "winnt", |
| ] |