Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
Signed-off-by: remzi <[email protected]>
  • Loading branch information
HaoYang670 committed Jul 1, 2024
1 parent c19f5b0 commit 6ce4437
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rucat_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use axum_extra::middleware::option_layer;
use config::{Config, DataBaseType};
use engine::router::get_engine_router;
use rucat_common::error::Result;
use state::{data_base::DataBase, AppState};
use state::{database::DataBase, AppState};
use tower_http::trace::TraceLayer;

pub(crate) mod authentication;
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions rucat_server/src/state/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! Shared state between handlers.
use self::data_base::DataBase;
use self::database::DataBase;

pub(crate) mod data_base;
pub(crate) mod database;

#[derive(Clone)]
pub(crate) struct AppState {
Expand Down

0 comments on commit 6ce4437

Please sign in to comment.