async-modbus 0.3.3

A lightweight asynchronous Modbus protocol implementation for embedded environments.
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 = "2024"
name = "async-modbus"
version = "0.3.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight asynchronous Modbus protocol implementation for embedded environments."
documentation = "https://docs.rs/async-modbus"
readme = "README.md"
license = "MIT"
repository = "https://github.com/akeamc/async-modbus"

[features]
default = [
    "embedded-io",
    "std",
]
defmt = ["dep:defmt"]
embedded-io = ["dep:embedded-io-async"]
std = ["thiserror-no-std/std"]

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

[[test]]
name = "client"
path = "tests/client.rs"

[dependencies.defmt]
version = "1.0.1"
optional = true

[dependencies.embedded-io-async]
version = "0.7.0"
optional = true

[dependencies.thiserror-no-std]
version = "2.0.2"

[dependencies.zerocopy]
version = "0.8.40"

[dependencies.zerocopy-derive]
version = "0.8.40"

[dev-dependencies.embedded-io-adapters]
version = "0.7.0"
features = ["tokio-1"]

[dev-dependencies.hex-literal]
version = "1.1.0"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]

[dev-dependencies.tokio-modbus]
version = "0.17.0"
features = ["rtu-server"]
default-features = false

[dev-dependencies.tokio-serial]
version = "5.4.5"

[build-dependencies.prettyplease]
version = "0.2"

[build-dependencies.proc-macro2]
version = "1.0"

[build-dependencies.quote]
version = "1.0"

[build-dependencies.syn]
version = "2.0"