Clean up server imports & format code

This commit is contained in:
pjht 2024-10-14 13:52:16 -05:00
parent 74e7a9c2d5
commit a25e143b55
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A
2 changed files with 1 additions and 6 deletions

View File

@ -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" }

View File

@ -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;