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!;
let el_opt = window
.and_then
.query_selector;
if let Some = el_opt
N.B. these docs omit smd!
and smd_borrowed!
, which are
re-exported from the smd_macro
crate.