Decision Workspace
embed_js vs embed_js_common vs embed_js_build
Side-by-side comparison of Rust crates
40
embed_js
growingv0.1.4
Minimalist lightweight inline JavaScript for Rust applications targeting WebAssembly via the `wasm32-unknown-unknown` target. See also embed_js_build, the accompanying crate for use by build scripts.
39
embed_js_common
growingv0.3.0
Implementation detail of embed_js and embed_js_build, do not use directly.
39
embed_js_build
growingv0.1.4
Minimalist lightweight inline JavaScript for Rust applications targeting WebAssembly via the `wasm32-unknown-unknown` target. This is the crate for build scripts. For the js macro itself, see embed_js.
Core Metrics
| embed_js | embed_js_common | embed_js_build | |
|---|---|---|---|
| Health Score | 40 | 39 | 39 |
| Total Downloads | 8.8K | 10.7K | 8.5K |
| 30d Downloads | 8 | 59 | 8 |
| Dependents | 0 | 8 | 0 |
| Releases | 5 | 5 | 5 |
| Last Updated | 3018d ago | 3018d ago | 3018d ago |
| Age | 8y 3m | 8y 3m | 8y 3m |
Health Breakdown
embed_js
Maintenance
6
Quality
15
Community
3
Popularity
5
Documentation
11
embed_js_common
Maintenance
6
Quality
14
Community
6
Popularity
5
Documentation
8
embed_js_build
Maintenance
6
Quality
14
Community
3
Popularity
5
Documentation
11
Technical Details
| embed_js | embed_js_common | embed_js_build | |
|---|---|---|---|
| Version | 0.1.4 | 0.3.0 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT / Apache-2.0 | MIT / Apache-2.0 | MIT / Apache-2.0 |
| Dependencies | 1 | 5 | 6 |
| Crate Size | 3KB | 2KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •embed_js leads with a health score of 40/100, but none of the options score above 80.
- •embed_js_common has the most downloads (10.7K), suggesting wider adoption.
- •⚠ embed_js, embed_js_common, embed_js_build have not been updated in over a year.