A WebSocket-based chat server built with Rust.
Create New Branch for Features/Testing and then you can merge it to the main branch after verified.
- Protocol: WebSocket
- URL:
/ws/
- Clone the repository
- Build the project:
cargo build --release
cargo run --release
The server will start on 0.0.0.0:8080
by default.
- Rust - You can get from here
- Cargo Dependencies in
Cargo.toml
:
axum
chrono
futures
serde
serde_json
tokio
tracing
tracing-subscriber
- Cargo Dependencies Features:
axum/ws
chrono/serde
serde/derive
tokio/full
src/
├── routes/
│ ├── chat.rs
│ └── mod.rs
└── main.rs
└── models.rs
└── state.rs
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request