rullst 0.9.2

O framework fullstack definitivo para Rust, com foco em DX, velocidade e segurança.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(target_arch = "wasm32")]
use wasm_bindgen::prelude::*;

/// Client-side utilities for Rullst Wasm Islands.
/// This module is compiled when targeting `wasm32-unknown-unknown`.
#[cfg(target_arch = "wasm32")]
#[wasm_bindgen]
pub fn rullst_client_init() {
    // Setup client panic hooks for nicer debugging in browser console
    console_error_panic_hook::set_once();
    web_sys::console::log_1(&"Rullst Wasm Islands client initialized successfully!".into());
}