ruvector-verified-wasm 0.1.1

WASM bindings for ruvector-verified: proof-carrying vector operations in the browser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! WASM utility helpers.

/// Set panic hook for better panic messages in the browser.
pub fn set_panic_hook() {
    // No-op if console_error_panic_hook is not available.
    // In production, add the crate and feature for better diagnostics.
}

/// Log a message to the browser console.
pub fn console_log(msg: &str) {
    web_sys::console::log_1(&msg.into());
}