bbcacf4232
Refactor/generalise API/DB interactions out of OIDC.
20 lines
401 B
Rust
20 lines
401 B
Rust
#[cfg(not(target_arch = "wasm32"))]
|
|
mod axum_lib;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
mod config;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
mod oidc;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
mod session;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
use axum_lib::main as axum_main;
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
#[tokio::main]
|
|
async fn main() {
|
|
axum_main().await
|
|
}
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
fn main() {}
|