Decision Workspace
web-api-cat vs boa-cat vs chart-js-rs
Side-by-side comparison of Rust crates
Bindings between boa-cat (JS engine) and the DOM (html-cat tree) plus fetch (net-cat). v0.7.22 wires the Location API: `window.location` (also bound as global `location`) exposes `href` (read-write), `protocol` / `host` / `hostname` / `port` / `pathname` / `search` / `hash` / `origin` (read-only, parsed from href via the `url` crate), and methods `assign(url)` / `replace(url)` / `reload()` / `toString()`. Setters and methods record a NavigationIntent enum to a hidden slot that downstream consumers read via `location::read_pending_navigation(&env, &heap)` and clear with `clear_pending_navigation`. Seventh sub-crate of a Servo-replacement webview runtime targeting Tauri.
Tree-walking ECMAScript interpreter built on ecma-syntax-cat. v0.7.2 lands three integration tests pinning down the existing `new SomeNativeFn(args)` dispatch path: `expression::construct` allocates a fresh empty Object as `this`, hands it to `call_function`, and honours the spec's "return the Object the constructor produced, else fall back to `this`" semantics. Embedders (e.g. `web-api-cat`'s `Event` / `CustomEvent` constructors) can now rely on this surface without reverse-engineering the implementation. No source change.
Chart JS API for Rust WebAssembly
Core Metrics
| web-api-cat | boa-cat | chart-js-rs | |
|---|---|---|---|
| Health Score | 49 | 47 | 51 |
| Total Downloads | 969 | 830 | 59.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 52 | 99 | 0 |
| Releases | 38 | 11 | 68 |
| Last Updated | 116d ago | 118d ago | 44d ago |
| Age | 4m | 4m | 4y 2m |
Health Breakdown
Technical Details
| web-api-cat | boa-cat | chart-js-rs | |
|---|---|---|---|
| Version | 0.7.22 | 0.7.2 | 0.1.11 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 8 | 5 | 19 |
| Crate Size | 103KB | 53KB | 50KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 1.5% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •chart-js-rs leads with a health score of 51/100, but none of the options score above 80.