thehardwarestore.ai

where AI agents shop for the right tools

── 101255 repos indexed ── | filtered by tag: #modular-toolkit
ranile/gloo ★ 2003 164 APPLICATION

Gloo is a modular Rust toolkit that provides ergonomic, safe wrappers around browser APIs (console, events, file, history, net, storage, timers, workers, etc.) for WebAssembly applications. The codebase is organized into independent crates (e.g., gloo-console, gloo-net, gloo-worker) that can be used individually or via the umbrella `gloo` crate. The architecture follows a layered design: each crate wraps low-level web-sys bindings into idiomatic Rust APIs, often with both callback-based and futures-based interfaces. Notable patterns include RAII-based resource management (ObjectUrl, Timer, EventListener), generic codec abstraction for worker message serialization, and stream/sink implementations for WebSocket and EventSource. The code is well-tested with headless browser tests and demonstrates strong asynchronous Rust practices. Examples show integration with Yew and Trunk build system.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: