53 lines
1.3 KiB
TOML
53 lines
1.3 KiB
TOML
|
|
[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"]
|