rs-modbus 2.0.0

A pure Rust implementation of MODBUS protocol.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "rs-modbus"
version = "2.0.0"
authors = ["Xie Jay <xiejay97@gmail.com>"]
build = false
include = [
    "/src",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust implementation of MODBUS protocol."
homepage = "https://github.com/xiejay97/rs-modbus"
documentation = "https://docs.rs/rs-modbus"
readme = "README.md"
keywords = [
    "modbus",
    "rtu",
    "ascii",
    "tcp",
    "udp",
]
categories = [
    "network-programming",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/xiejay97/rs-modbus"

[package.metadata.docs.rs]
all-features = true

[badges.maintenance]
status = "actively-developed"

[features]
default = []
serial = ["dep:serialport"]

[lib]
name = "rs_modbus"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.serialport]
version = "4"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "net",
    "sync",
    "time",
    "rt",
]
default-features = false

[dependencies.uuid]
version = ">=1, <1.14"
features = ["v4"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "time",
]
default-features = false

[dev-dependencies.tokio-test]
version = "0.4"