forked from serialport/serialport-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (37 loc) · 1.24 KB
/
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
[package]
name = "serialport"
version = "4.1.1-alpha.0"
authors = [
"Bryant Mairs <[email protected]>",
"Jesse Braham <[email protected]>",
]
edition = "2021"
rust-version = "1.56"
description = "A cross-platform low-level serial port library"
documentation = "https://docs.rs/serialport/"
repository = "https://github.com/serialport/serialport-rs"
license = "MPL-2.0"
keywords = ["serial", "hardware", "system", "RS232"]
categories = ["hardware-support"]
[target."cfg(unix)".dependencies]
bitflags = "1.3.2"
cfg-if = "1.0.0"
nix = { version = "0.24.1", default-features = false, features = ["fs", "ioctl", "poll", "signal", "term"] }
[target.'cfg(all(target_os = "linux", not(target_env = "musl")))'.dependencies]
libudev = { version = "0.3.0", optional = true }
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
CoreFoundation-sys = "0.1.4"
IOKit-sys = "0.1.5"
mach = "0.3.2"
[target."cfg(windows)".dependencies]
regex = "1.5.5"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"cguid", "commapi", "errhandlingapi", "fileapi", "guiddef", "handleapi", "minwinbase",
"minwindef", "ntdef", "setupapi", "winbase", "winerror", "winnt",
]
[dev-dependencies]
clap = "3.1.6"
[features]
default = ["libudev"]