Decision Workspace
include-lines vs lazy-static-include vs include_dir_as_map
Side-by-side comparison of Rust crates
49
include-lines
growingv1.1.2
Macros for reading in the lines of a file at compile time
64
lazy-static-include
stablev4.0.0
This crate provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.
55
include_dir_as_map
stablev1.2.0
Embed files from a directory as a hashmap in the rust binary
Core Metrics
| include-lines | lazy-static-include | include_dir_as_map | |
|---|---|---|---|
| Health Score | 49 | 64 | 55 |
| Total Downloads | 141.5K | 352.6K | 3.4K |
| 30d Downloads | 1.7K | 2.4K | 0 |
| Dependents | 18 | 142 | 0 |
| Releases | 4 | 34 | 3 |
| Last Updated | 1242d ago | 6d ago | 43d ago |
| Age | 3y 6m | 7y 10m | 2y 10m |
Health Breakdown
include-lines
Maintenance
4
Quality
20
Community
9
Popularity
6
Documentation
10
lazy-static-include
Maintenance
18
Quality
15
Community
12
Popularity
7
Documentation
12
include_dir_as_map
Maintenance
14
Quality
21
Community
6
Popularity
4
Documentation
10
Technical Details
| include-lines | lazy-static-include | include_dir_as_map | |
|---|---|---|---|
| Version | 1.1.2 | 4.0.0 | 1.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 1 | 6 | 1 |
| Crate Size | 2KB | 6KB | 4KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 11.8% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-static-include leads with a health score of 64/100, but none of the options score above 80.
- •lazy-static-include is depended on by 142 crates — strongest ecosystem trust.
- •⚠ include-lines has not been updated in over a year.