siwe-oidc/src/main.rs
Simon Bihel bbcacf4232
Cloudflare Worker version (#6)
Refactor/generalise API/DB interactions out of OIDC.
2022-01-11 10:43:06 +00:00

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() {}