forked from berkowski/tokio-serial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (52 loc) · 1.36 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
[package]
name = "tokio-serial"
version = "5.4.4"
authors = ["Zac Berkowitz <[email protected]>"]
description = "A serial port implementation for tokio"
license = "MIT"
homepage = "https://github.com/berkowski/tokio-serial"
repository = "https://github.com/berkowski/tokio-serial"
documentation = "http://docs.rs/tokio-serial"
readme = "README.md"
keywords = ["rs232", "serial", "tokio"]
categories = ["asynchronous", "hardware-support"]
edition = "2018"
[package.metadata]
msrv = "1.46.0"
[features]
default = []
libudev = ["mio-serial/libudev"]
rt = ["tokio/rt-multi-thread"]
codec = ["tokio-util/codec", "bytes"]
[dependencies.futures]
version = "0.3"
[dependencies.tokio]
version = "^1.8"
default-features = false
features = ["net"]
[dependencies.tokio-util]
version = "0.7"
default-features = false
optional = true
[dependencies.mio-serial]
version = "5.0.3"
default-features = false
git = "https://github.com/Matt-Allen-Bose/mio-serial"
[dependencies.bytes]
version = "1"
default-features = false
optional = true
[dependencies.log]
version = "0.4"
[dependencies.cfg-if]
version = "1"
[dev-dependencies.tokio]
version = "^1.8"
features = ["macros", "rt", "process", "time", "fs", "io-util"]
default-features = false
[dev-dependencies.env_logger]
version = "0.10.0"
[[example]]
name = "serial_println"
path = "examples/serial_println.rs"
required-features = ["rt", "codec"]