modbus-bridge 0.2.0

Portable no_std Modbus RTU/TCP bridge — async and blocking
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.81"
name = "modbus-bridge"
version = "0.2.0"
build = false
exclude = [
    "fuzz/",
    ".cargo/",
    ".github/",
    "docs/",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable no_std Modbus RTU/TCP bridge — async and blocking"
documentation = "https://docs.rs/modbus-bridge"
readme = "README.md"
keywords = [
    "modbus",
    "rtu",
    "tcp",
    "bridge",
    "no-std",
]
categories = [
    "embedded",
    "network-programming",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rand12345/modbus-bridge-rs"

[features]
async = [
    "dep:embedded-io-async",
    "dep:embedded-hal-async",
    "dep:futures-util",
]
default = ["async"]
defmt = ["dep:defmt"]
log = ["dep:log"]
sync = ["dep:embedded-io"]
tokio-integration = []

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

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

[[test]]
name = "tokio_integration"
path = "tests/tokio_integration.rs"
required-features = ["tokio-integration"]

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

[dependencies.embedded-hal]
version = "1.0"

[dependencies.embedded-hal-async]
version = "1.0"
optional = true

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

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

[dependencies.futures-util]
version = "0.3"
optional = true
default-features = false

[dependencies.heapless]
version = "0.8"
default-features = false

[dependencies.log]
version = "0.4"
optional = true
default-features = false

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

[dev-dependencies.futures]
version = "0.3"
features = [
    "executor",
    "std",
]
default-features = false

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

[dev-dependencies.tokio-modbus]
version = "0.17"
features = ["tcp"]
default-features = false