smithy 0.0.7

Smithy, a framework for web development
Documentation

Smithy is a framework for writing WebAssembly applications entirely in Rust. Its goal is to allow you to do so using ergonomic, idiomatic Rust, without giving up any of the compiler’s safety guarantees.

Example

let app = smd!(<div>hello world</div>);
let el_opt = web_sys::window()
.and_then(|w| w.document())
.query_selector("#app");
if let Some(el) = el_opt {
smithy::mount(app, el);
}

N.B. these docs omit smd! and smd_borrowed!, which are re-exported from the smd_macro crate.