Skip to content

Commit

Permalink
fix cfg flag for import
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Nov 23, 2024
1 parent 2082e12 commit ea48919
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/controller/app_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ use utoipa_swagger_ui::SwaggerUi;
#[cfg(feature = "channels")]
use super::channels::AppChannels;
use super::routes::LocoMethodRouter;
#[cfg(feature = "openapi")]
use crate::controller::{format, Response};
use crate::{
app::{AppContext, Hooks},
config::OpenAPIType,
controller::{middleware::MiddlewareLayer, routes::Routes},
Result,
};
#[cfg(feature = "openapi")]
use crate::{
config::OpenAPIType,
controller::{format, Response},
};

static NORMALIZE_URL: OnceLock<Regex> = OnceLock::new();

Expand Down

0 comments on commit ea48919

Please sign in to comment.