26 lines
880 B
TOML
26 lines
880 B
TOML
[package]
|
|
name = "modbus-mqtt"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bytes = "1.1.0"
|
|
clap = { version = "3.2.12", features = ["derive", "env"] }
|
|
humantime-serde = "1.1.1"
|
|
itertools = "0.10.3"
|
|
rumqttc = { version = "0.13.0", features = ["url"], git = "https://github.com/bytebeamio/rumqtt" }
|
|
rust_decimal = { version = "1.26.1", features = ["serde-arbitrary-precision", "serde-float", "serde_json", "maths"] }
|
|
serde = { version = "1.0.139", features = ["serde_derive"] }
|
|
serde_json = "1.0.82"
|
|
serialport = { version = "4.2.0", features = ["serde"] }
|
|
tokio = { version = "1.20.0", features = ["rt", "rt-multi-thread", "time"] }
|
|
tokio-modbus = "0.5.3"
|
|
tokio-serial = "5.4.3"
|
|
tracing = "0.1.36"
|
|
tracing-subscriber = "0.3.15"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1.2.1"
|