-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (38 loc) · 1.27 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
[package]
name = "coriolis"
description = "Drivers Coriolis Transmitter"
version = "0.1.0"
authors = ["m_sha256"]
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["sensor", "flow", "transmitter", "coriolis", "modbus"]
categories = ["hardware-support", "network-programming", "asynchronous"]
repository = "https://github.com/"
edition = "2018"
[dependencies]
byteorder = "1.4.3"
csv = "1.2.0"
futures = { version = "0.1", optional = true }
log = { version = "~0.4", default-features = false }
serde = { version = "1.0.152", features = ["derive"] }
serde_yaml = "0.9.19"
serialport = { version = "3", default-features = false, optional = true }
tokio = { version = "0.1", optional = true }
tokio-core = { version = "0.1", optional = true }
tokio-io = { version = "0.1", optional = true }
tokio-modbus = {version = "~0.3.2", optional = true }
tokio-serial = { version = "3", default-features = false, optional = true }
env_logger = "~0.6"
stream-cancel = "~0.4"
chrono = "~0.4"
[dev-dependencies]
chrono = "~0.4"
env_logger = "~0.6"
stream-cancel = "~0.4"
[features]
default = ["tokio-modbus-rtu"]
tokio-modbus-rtu = ["std", "modbus", "rtu", "tokio-modbus", "tokio", "tokio-core", "tokio-io", "tokio-serial"]
tokio-mock = ["tokio"]
modbus = []
rtu = ["serialport"]
std = ["futures"]