新增: WebChat 端

This commit is contained in:
lxy
2026-10-05 14:59:11 +08:00
parent 7c76ee6a60
commit 63c5c3d4f0
3 changed files with 473 additions and 39 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ async-trait = { workspace = true }
tracing = { workspace = true }
df-tunnel = { path = "../df-tunnel" }
# WS(与 df-tunnel 同款本地版本声明,workspace 无这几项)
# HTTP 静态托管 + WS 服务端(P1:Web Chat 页面由网关直接托管,/ 与 /ws 同端口)
axum = { version = "0.7", features = ["ws"] }
# WS 客户端(commander 连 u-relay;与 df-tunnel 同款本地版本声明,workspace 无这几项)
tokio-tungstenite = { version = "0.23", features = ["native-tls"] }
futures-util = "0.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }