Decision Workspace
embed_dir vs include_dir vs iftree
Side-by-side comparison of Rust crates
34
embed_dir
growingv0.2.0
Small program to generate code to embed a folder in a rust program
56
include_dir
growingv0.7.4
Embed the contents of a directory in your binary
51
iftree
stablev1.0.7
Include many files in your Rust code for self-contained binaries
Core Metrics
| embed_dir | include_dir | iftree | |
|---|---|---|---|
| Health Score | 34 | 56 | 51 |
| Total Downloads | 5.4K | 43.3M | 134.2K |
| 30d Downloads | 5 | 3.7M | 1.9K |
| Dependents | 0 | 7.2K | 0 |
| Releases | 3 | 19 | 10 |
| Last Updated | 3154d ago | 648d ago | 82d ago |
| Age | 8y 7m | 8y 9m | 4y 10m |
Health Breakdown
embed_dir
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
8
include_dir
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
12
iftree
Maintenance
12
Quality
17
Community
6
Popularity
6
Documentation
10
Technical Details
| embed_dir | include_dir | iftree | |
|---|---|---|---|
| Version | 0.2.0 | 0.7.4 | 1.0.7 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0 | MIT | MIT |
| Dependencies | 0 | 3 | 19 |
| Crate Size | 15KB | 6KB | 78KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2024 |
| MSRV | — | 1.64 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •include_dir leads with a health score of 56/100, but none of the options score above 80.
- •include_dir is depended on by 7.2K crates — strongest ecosystem trust.
- •⚠ embed_dir, include_dir have not been updated in over a year.
- •embed_dir, include_dir are pre-1.0 — API may change.