2022-01-11 05:43:06 -05:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
mod axum_lib;
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-11-29 15:05:43 -05:00
|
|
|
mod config;
|
2022-01-11 05:43:06 -05:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
mod oidc;
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-11-29 15:05:43 -05:00
|
|
|
mod session;
|
2022-01-11 05:43:06 -05:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
use axum_lib::main as axum_main;
|
2021-11-29 15:05:43 -05:00
|
|
|
|
2022-01-11 05:43:06 -05:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-11-29 15:05:43 -05:00
|
|
|
#[tokio::main]
|
|
|
|
async fn main() {
|
2022-01-11 05:43:06 -05:00
|
|
|
axum_main().await
|
2021-11-29 15:05:43 -05:00
|
|
|
}
|
2022-01-11 05:43:06 -05:00
|
|
|
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
|
|
fn main() {}
|