[package]
edition = "2024"
rust-version = "1.85"
name = "ciplink-server"
version = "0.3.5"
authors = ["Rowan Ramamurthy <rramamurthy@factoryautomation.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One server per site that owns the PLC connections and serves tag values over a WebSocket"
homepage = "https://rowanrama.github.io/ciplink/"
readme = "README.md"
keywords = [
"plc",
"ethernet-ip",
"hmi",
"websocket",
"allen-bradley",
]
categories = [
"network-programming",
"science",
]
license = "MIT"
repository = "https://github.com/RowanRama/ciplink"
[lib]
name = "ciplink_server"
path = "src/lib.rs"
[[bin]]
name = "ciplink-server"
path = "src/main.rs"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.ciplink]
version = "0.3.5"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.futures-util]
version = "0.3"
[dependencies.indexmap]
version = "2"
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
"signal",
]
[dependencies.toml]
version = "0.9"
features = ["preserve_order"]
[dependencies.tower-http]
version = "0.6"
features = ["cors"]
[dev-dependencies.tokio]
version = "1"
features = ["test-util"]
[dev-dependencies.tokio-tungstenite]
version = "0.29"
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.rust]
unsafe_code = "forbid"