Decision Workspace
rocket-include-static-resources vs rust-embed vs rust-embed-impl
Side-by-side comparison of Rust crates
49
rocket-include-static-resources
growingv0.10.5
This is a crate which provides macros `static_resources_initializer!` and `static_response_handler!` to statically include files from your Rust project and make them be the HTTP response sources quickly.
69
rust-embed
stablev8.11.0
Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev
66
rust-embed-impl
stablev8.11.0
Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev
Core Metrics
| rocket-include-static-resources | rust-embed | rust-embed-impl | |
|---|---|---|---|
| Health Score | 49 | 69 | 66 |
| Total Downloads | 92.9K | 27.9M | 27.8M |
| 30d Downloads | 475 | 3.1M | 3.1M |
| Dependents | 65 | 9.0K | 52 |
| Releases | 43 | 66 | 42 |
| Last Updated | 876d ago | 72d ago | 72d ago |
| Age | 7y 7m | 9y | 7y 5m |
Health Breakdown
rocket-include-static-resources
Maintenance
6
Quality
15
Community
10
Popularity
6
Documentation
12
rust-embed
Maintenance
15
Quality
17
Community
15
Popularity
8
Documentation
14
rust-embed-impl
Maintenance
15
Quality
21
Community
10
Popularity
8
Documentation
12
Technical Details
| rocket-include-static-resources | rust-embed | rust-embed-impl | |
|---|---|---|---|
| Version | 0.10.5 | 8.11.0 | 8.11.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 7 | 14 | 6 |
| Crate Size | 17KB | 901KB | 9KB |
| Features | 1 | 11 | 6 |
| Yanked % | 0.0% | 9.1% | 4.8% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | 1.69 | 1.70.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust-embed leads with a health score of 69/100, but none of the options score above 80.
- •rust-embed is depended on by 9.0K crates — strongest ecosystem trust.
- •⚠ rocket-include-static-resources has not been updated in over a year.
- •rocket-include-static-resources is pre-1.0 — API may change.