Decision Workspace
static_dir vs include_dir_as_map vs embed_it
Side-by-side comparison of Rust crates
41
static_dir
growingv0.2.0
A crate for embedding static assets into warp webservers.
55
include_dir_as_map
stablev1.2.0
Embed files from a directory as a hashmap in the rust binary
55
embed_it
growingv7.1.0
A proc-macro library for to create rust structs from file system entries and include content as a reference to a byte array.
Core Metrics
| static_dir | include_dir_as_map | embed_it | |
|---|---|---|---|
| Health Score | 41 | 55 | 55 |
| Total Downloads | 3.9M | 3.4K | 7.2K |
| 30d Downloads | 119.7K | 0 | 0 |
| Dependents | 7 | 0 | 0 |
| Releases | 5 | 3 | 11 |
| Last Updated | 1891d ago | 43d ago | 233d ago |
| Age | 6y 3m | 2y 10m | 1y 5m |
Health Breakdown
static_dir
Maintenance
3
Quality
13
Community
5
Popularity
8
Documentation
12
include_dir_as_map
Maintenance
14
Quality
21
Community
6
Popularity
4
Documentation
10
embed_it
Maintenance
10
Quality
22
Community
6
Popularity
5
Documentation
12
Technical Details
| static_dir | include_dir_as_map | embed_it | |
|---|---|---|---|
| Version | 0.2.0 | 1.2.0 | 7.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 9 | 1 | 4 |
| Crate Size | 8KB | 4KB | 20KB |
| Features | 0 | 1 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •include_dir_as_map leads with a health score of 55/100, but none of the options score above 80.
- •static_dir has the most downloads (3.9M), suggesting wider adoption.
- •⚠ static_dir has not been updated in over a year.
- •static_dir is pre-1.0 — API may change.