mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
* wireframed up the admin menu and components * banner-shaped yak shaving * making some nicer messages in the cert script * removing wee_alloc * adding admin_groups ui * adding oauth2 basics * added group view page * changing to expect_throw * serde-wasm-bindgen fixes * adding view person and view service account basics * adding basic testy things * dropping breadcrumbs all over the place * minor changes to oauth2 admin interface, adding automation around wasm testing
38 lines
816 B
Rust
38 lines
816 B
Rust
#![recursion_limit = "256"]
|
|
#![deny(warnings)]
|
|
#![warn(unused_extern_crates)]
|
|
#![deny(clippy::todo)]
|
|
#![deny(clippy::unimplemented)]
|
|
#![deny(clippy::unwrap_used)]
|
|
#![deny(clippy::expect_used)]
|
|
#![deny(clippy::panic)]
|
|
#![deny(clippy::unreachable)]
|
|
#![deny(clippy::await_holding_lock)]
|
|
#![deny(clippy::needless_pass_by_value)]
|
|
#![deny(clippy::trivially_copy_pass_by_ref)]
|
|
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
#[macro_use]
|
|
mod macros;
|
|
|
|
mod constants;
|
|
mod credential;
|
|
mod error;
|
|
mod login;
|
|
mod manager;
|
|
mod models;
|
|
mod oauth2;
|
|
mod utils;
|
|
mod views;
|
|
|
|
mod components;
|
|
|
|
#[cfg_attr(target_arch = "wasm32", wasm_bindgen)]
|
|
pub fn run_app() -> Result<(), JsValue> {
|
|
yew::start_app::<manager::ManagerApp>();
|
|
#[cfg(debug_assertions)]
|
|
gloo::console::debug!(kanidm_proto::utils::get_version("kanidmd_web_ui"));
|
|
Ok(())
|
|
}
|