Initial commit: FunConnect project with server, relay, client and admin panel

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-24 20:56:36 +08:00
parent eb6e901440
commit b6891483ae
167 changed files with 16147 additions and 106 deletions

29
relay-server/Cargo.toml Normal file
View File

@@ -0,0 +1,29 @@
[package]
name = "funmc-relay-server"
version = "0.1.0"
edition = "2021"
description = "FunMC 中继服务端 - 为 Minecraft 玩家提供网络中继服务"
authors = ["魔幻方 <dev@funmc.com>"]
[[bin]]
name = "relay-server"
path = "src/main.rs"
[dependencies]
funmc-shared = { path = "../shared" }
tokio = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
quinn = { workspace = true }
rustls = { workspace = true }
rcgen = { workspace = true }
tracing-subscriber = { workspace = true }
dashmap = { workspace = true }
dotenvy = "0.15"
jsonwebtoken = "9"
bytes = "1"