modbus-gateway 0.1.0

Cross-platform Modbus gateway CLI & TUI powered by mbus-gateway
# 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"
name = "modbus-gateway"
version = "0.1.0"
authors = ["Raghava Ch <ch.raghava44@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform Modbus gateway CLI & TUI powered by mbus-gateway"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Raghava-Ch/modbus-gateway"

[features]
default = ["traffic"]
traffic = ["modbus-rs/traffic"]

[[bin]]
name = "modbus-gateway"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.heapless]
version = "0.9"

[dependencies.modbus-rs]
version = "0.11.0"
features = ["gateway"]

[dependencies.ratatui]
version = "0.29"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.tui-logger]
version = "0.15"
features = ["tracing-support"]

[profile.dev]
panic = "unwind"

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "debuginfo"