wasmdev 0.1.7

A rust web development server library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub use wasmdev_macro::main;

#[cfg(not(target_family = "wasm"))]
pub use wasmdev_server::*;

#[cfg(all(target_family = "wasm", feature = "panic_hook", debug_assertions))]
#[inline]
pub fn if_enabled_setup_panic_hook_once() {
    console_error_panic_hook::set_once();
}

#[cfg(not(all(target_family = "wasm", feature = "panic_hook", debug_assertions)))]
#[inline]
pub fn if_enabled_setup_panic_hook_once() {}