Skip to content

Commit 54ddeca

Browse files
fix: reorder module declarations to ensure public module is conditionally compiled correctly
1 parent 81968b4 commit 54ddeca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/server/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ use chrono::{DateTime, Utc};
44
use serde::Deserialize;
55
use utoipa::IntoParams;
66

7-
#[cfg(not(feature = "auth"))]
8-
pub mod public;
97
#[cfg(feature = "auth")]
108
pub mod auth;
119
#[cfg(feature = "auth")]
1210
pub mod auth_db;
11+
#[cfg(not(feature = "auth"))]
12+
pub mod public;
1313

1414
#[derive(Debug, Deserialize)]
1515
pub(super) struct DataFilter {

0 commit comments

Comments
 (0)