Make axum-login crate optional
This commit is contained in:
@ -12,11 +12,11 @@ pub mod users;
|
||||
pub mod search;
|
||||
pub mod fileserv;
|
||||
pub mod error_template;
|
||||
pub mod auth_backend;
|
||||
use cfg_if::cfg_if;
|
||||
|
||||
cfg_if! {
|
||||
if #[cfg(feature = "ssr")] {
|
||||
if #[cfg(feature = "ssr")] {
|
||||
pub mod auth_backend;
|
||||
pub mod schema;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user