smithy 0.0.7

Smithy, a framework for web development
//! 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
//!
//! ```rs
//! 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`](/smd_macro/) crate.

/// A module that re-exports useful Smithy types, and some others.
pub mod types {
  pub use smithy_types::*;
}

pub use smd_macro::*;
pub use smithy_core::*;