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

52
client/Cargo.toml Normal file
View File

@@ -0,0 +1,52 @@
[package]
name = "funmc-client"
version = "0.1.0"
edition = "2021"
[lib]
name = "funmc_client_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[[bin]]
name = "funmc-client"
path = "src/main.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[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 }
tauri = { version = "2", features = [] }
tauri-plugin-shell = "2"
tauri-plugin-notification = "2"
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
tokio-tungstenite = { version = "0.21", features = ["rustls-tls-webpki-roots"] }
futures-util = "0.3"
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio-rustls", "uuid", "chrono", "migrate"] }
# QUIC transport
quinn = "0.11"
rustls = { version = "0.23", default-features = false, features = ["ring"] }
rcgen = "0.13"
# Async networking helpers
bytes = "1"
rand = "0.8"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
local-ip-address = "0.6"
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]