Expand description
Gloo is a modular toolkit for building fast and reliable libraries and apps with Rust and WebAssembly.
Modules§
- console
console
- The JavaScript’s
console
object provides access to the browser’s console. Using theconsole
object in Rust/WASM directly is cumbersome as it requires JavaScript glue code. This crate exists to solve this problem by providing a set of ergonomic Rust APIs to deal with the browser console. - dialogs
dialogs
- This crate provides wrapper for
alert
,prompt
andconfirm
functions.web-sys
provides a raw API which is hard to use. This crate provides an easy-to-use, idiomatic Rust API for these functions. - events
events
- Using event listeners with
web-sys
is hard! This crate provides anEventListener
type which makes it easy! - file
file
- Working with files and blobs on the Web.
- history
history
- A module that provides universal session history and location information.
- net
net
- HTTP requests library for WASM apps. It provides idiomatic Rust bindings for the
web_sys
fetch
andWebSocket
API. - render
render
- Crate that provides wrapper for requestAnimationFrame
- storage
storage
- This crate provides wrappers for the Web Storage API
- timers
timers
- Working with timers on the Web:
setTimeout
andsetInterval
. - utils
utils
- worker
worker
- Workers are a way to offload tasks to web workers. These are run concurrently using web-workers.