plc_control/Cargo.toml

45 lines
918 B
TOML

[package]
name = "gateway_rs"
version = "0.1.0"
edition = "2021"
[dependencies]
# Async runtime
tokio = { version = "1.49", features = ["full"] }
# Web framework
axum = { version = "0.8", features = ["ws"] }
tower-http = { version = "0.6", features = ["cors"] }
# Database
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "chrono", "uuid"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.0"
# Time handling
chrono = "0.4"
time = "0.3"
# UUID
uuid = { version = "1.21", features = ["serde", "v4"] }
# OPC UA
async-opcua = { version = "0.18", features = ["client"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
tracing-appender = "0.2"
# Environment variables
dotenv = "0.15"
# Validation
validator = { version = "0.20", features = ["derive"] }
# Error handling
anyhow = "1.0"