51 lines
1.0 KiB
TOML
51 lines
1.0 KiB
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", "fs"] }
|
|
|
|
# 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"
|
|
async-stream = "0.3"
|
|
|
|
# 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", "json"] }
|
|
tracing-appender = "0.2"
|
|
|
|
# Environment variables
|
|
dotenv = "0.15"
|
|
|
|
# Validation
|
|
validator = { version = "0.20", features = ["derive"] }
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tray-icon = "0.15"
|
|
winit = "0.30"
|
|
webbrowser = "0.8"
|