-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (58 loc) · 1.38 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "comport"
version = "0.0.9"
authors = ["Thomas Chiantia <[email protected]>"]
keywords = ["Windows","Async", "Serialport"]
description = "Windows first async serial port"
edition = "2021"
license = "MIT"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
futures = "0.3"
bytes = "1"
pin-project-lite = "0.2"
crossbeam = "0.8"
parking_lot = "0.12"
regex = "1"
# other
bitflags = "2.4"
num-traits = "0.2"
num-derive = "0.4"
serde = { version = "1", optional = true, features = ["derive"] }
serde_json = { version = "1", optional = true }
thiserror = "1"
# log
tracing = "0.1"
# Windows dependencies
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_SystemInformation",
"Win32_System_IO",
"Win32_System_Kernel",
"Win32_System_LibraryLoader",
"Win32_System_Pipes",
"Win32_System_Power",
"Win32_System_Registry",
"Win32_System_Rpc",
"Win32_System_Services",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_RemoteDesktop",
"Win32_UI_WindowsAndMessaging",
]
[dev-dependencies]
mockall = "0.12"
trybuild = "1"
tracing-subscriber = "0.3"
tokio = { version = "1.32", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec"] }
[features]
default = []
serde = ["dep:serde"]
node = ["dep:serde_json"]