Clean up server imports & format code
This commit is contained in:
parent
74e7a9c2d5
commit
a25e143b55
@ -4,11 +4,8 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.83"
|
||||
axum = { version = "0.7.7", features = ["ws"] }
|
||||
axum-client-ip = "0.6.1"
|
||||
axum-login = "0.16.0"
|
||||
axum_static = "1.7.1"
|
||||
ciborium = "0.2.2"
|
||||
clap = { version = "4.5.19", features = ["derive"] }
|
||||
common = { version = "0.1.0", path = "../common" }
|
||||
|
@ -7,9 +7,7 @@ use axum::http::StatusCode;
|
||||
use axum::response::{IntoResponse, Response};
|
||||
use axum::routing::post;
|
||||
use axum::{routing::get, Router};
|
||||
use axum_login::{
|
||||
login_required, AuthManagerLayerBuilder, AuthSession, AuthUser, AuthnBackend, UserId,
|
||||
};
|
||||
use axum_login::{AuthManagerLayerBuilder, AuthSession, AuthUser, AuthnBackend, UserId};
|
||||
use clap::Parser;
|
||||
use common::ChatMessage;
|
||||
use futures::stream::SplitSink;
|
||||
|
Loading…
Reference in New Issue
Block a user