add chat function
#
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
[package]
|
||||
name = "chat-service"
|
||||
version = "0.0.1"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "=0.6.20", features = ["ws"] }
|
||||
tokio = { version = "=1.35.1", features = ["full"] }
|
||||
tower-http = { version = "=0.4.4", features = ["fs"] }
|
||||
tower = { version = "=0.4.13", features = ["util"] }
|
||||
serde = { version = "=1.0.197", features = ["derive"] }
|
||||
serde_json = "=1.0.115"
|
||||
uuid = { version = "=1.7.0", features = ["v4"] }
|
||||
dashmap = "=5.5.3"
|
||||
tracing = "=0.1.40"
|
||||
tracing-subscriber = { version = "=0.3.18", features = ["env-filter"] }
|
||||
chrono = { version = "=0.4.35", features = ["serde"] }
|
||||
url = "=2.4.1"
|
||||
idna = "=0.5.0"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3 # Max optimization (default for release)
|
||||
lto = true # Link-Time Optimization — smaller, faster binary
|
||||
codegen-units = 1 # Single codegen unit — slower compile, better optimization
|
||||
panic = "abort" # Remove panic unwinding overhead
|
||||
strip = true # Strip debug symbols (requires Rust 1.59+)
|
||||
Reference in New Issue
Block a user