Decision Workspace
include-file vs lazy-static-include vs include-flate
Side-by-side comparison of Rust crates
55
include-file
growingv1.0.0
Include sections of files into Rust source code
60
lazy-static-include
stablev4.0.1
This crate provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.
59
include-flate
growingv0.3.4
A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation
Core Metrics
| include-file | lazy-static-include | include-flate | |
|---|---|---|---|
| Health Score | 55 | 60 | 59 |
| Total Downloads | 74.3K | 365.4K | 4.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 42 | 144 | 201 |
| Releases | 8 | 35 | 11 |
| Last Updated | 190d ago | 70d ago | 91d ago |
| Age | 11m | 8y 1m | 7y 1m |
Health Breakdown
include-file
Maintenance
11
Quality
16
Community
10
Popularity
6
Documentation
12
lazy-static-include
Maintenance
14
Quality
15
Community
12
Popularity
7
Documentation
12
include-flate
Maintenance
12
Quality
17
Community
12
Popularity
8
Documentation
10
Technical Details
| include-file | lazy-static-include | include-flate | |
|---|---|---|---|
| Version | 1.0.0 | 4.0.1 | 0.3.4 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 3 | 6 | 2 |
| Crate Size | 46KB | 6KB | 10KB |
| Features | 4 | 0 | 4 |
| Yanked % | 12.5% | 11.4% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.85.0 | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-static-include leads with a health score of 60/100, but none of the options score above 80.
- •include-flate has the most downloads (4.6M), suggesting wider adoption.
- •include-flate is depended on by 201 crates — strongest ecosystem trust.
- •include-flate is pre-1.0 — API may change.