Decision Workspace
include_dir_as_map vs static-serve-macro vs static-serve
Side-by-side comparison of Rust crates
51
include_dir_as_map
growingv1.2.0
Embed files from a directory as a hashmap in the rust binary
63
static-serve-macro
growingv0.6.4
A helper for compressing and embedding static assets in an Axum webserver
63
static-serve
growingv0.6.4
A helper for compressing and embedding static assets in an Axum webserver
Core Metrics
| include_dir_as_map | static-serve-macro | static-serve | |
|---|---|---|---|
| Health Score | 51 | 63 | 63 |
| Total Downloads | 3.4K | 21.6K | 21.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 30 | 19 |
| Releases | 3 | 13 | 13 |
| Last Updated | 131d ago | 33d ago | 33d ago |
| Age | 3y | 1y 6m | 1y 6m |
Health Breakdown
include_dir_as_map
Maintenance
10
Quality
21
Community
6
Popularity
4
Documentation
10
static-serve-macro
Maintenance
18
Quality
13
Community
15
Popularity
5
Documentation
12
static-serve
Maintenance
18
Quality
13
Community
15
Popularity
5
Documentation
12
Technical Details
| include_dir_as_map | static-serve-macro | static-serve | |
|---|---|---|---|
| Version | 1.2.0 | 0.6.4 | 0.6.4 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 11 | 9 |
| Crate Size | 4KB | 16KB | 18KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.88 | 1.88 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •static-serve-macro leads with a health score of 63/100, but none of the options score above 80.
- •static-serve-macro, static-serve are pre-1.0 — API may change.