-
Notifications
You must be signed in to change notification settings - Fork 48
/
Cargo.toml
48 lines (39 loc) · 1010 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "mio-serial"
version = "5.0.5"
authors = ["Zac Berkowitz <[email protected]>"]
description = "A serial port implementation for mio"
license = "MIT"
homepage = "https://github.com/berkowski/mio-serial"
repository = "https://github.com/berkowski/mio-serial"
documentation = "http://docs.rs/mio-serial"
readme = "README.md"
keywords = ["rs232", "serial", "mio"]
categories = ["asynchronous", "hardware-support"]
edition = "2018"
[package.metadata]
msrv = "1.60.0" # Used by cargo-msrv
[features]
default = []
libudev = ["serialport/libudev"]
[dependencies.mio]
version = "0.8"
features = ["os-poll", "os-ext"]
[dependencies.serialport]
version = "4"
default-features = false
[dependencies.log]
version = "0.4"
[target.'cfg(unix)'.dependencies]
nix = "0.26"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = [
"commapi",
"handleapi",
"winbase",
"std",
] }
[dev-dependencies.env_logger]
version = "0.10"
[[example]]
name = "read_serialport"