rustmod-datalink 0.2.0

Async Modbus transport abstractions and implementations for rust-mod.
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.75"
name = "rustmod-datalink"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Modbus transport abstractions and implementations for rust-mod."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rbhans/rust-mod"

[features]
default = []
metrics = []
rtu = ["dep:tokio-serial"]

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

[[example]]
name = "bacnet_modbus_combined_simulator"
path = "examples/bacnet_modbus_combined_simulator.rs"

[[example]]
name = "in_memory_simulator"
path = "examples/in_memory_simulator.rs"

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

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

[dependencies.rustmod-core]
version = "0.2.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
]

[dependencies.tokio-serial]
version = "5"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
    "test-util",
]