feat: send && receive messages

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-05-26 05:25:37 +03:00
parent 1491669001
commit ff5512fe26
9 changed files with 281 additions and 0 deletions

16
Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "acapair_chat_api"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.7.5"
axum-server = { version = "0.6.0", features = ["tls-rustls"] }
chrono = "0.4.38"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
sha3 = "0.10.8"
tokio = { version = "1.37.0", features = ["full"] }
tower-http = { version = "0.5.2", features = ["full"] }