Decision Workspace
include-file vs include-flate vs lazy-static-include
Side-by-side comparison of Rust crates
55
include-file
experimentalv0.5.1
Include sections of files into Rust source code
63
include-flate
growingv0.3.2
A variant of include_bytes!/include_str! with compile-time deflation and runtime lazy inflation
52
lazy-static-include
growingv3.2.1
This crate provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.
Core Metrics
| include-file | include-flate | lazy-static-include | |
|---|---|---|---|
| Health Score | 55 | 63 | 52 |
| Total Downloads | 31.9K | 2.1M | 337.6K |
| 30d Downloads | 11.7K | 274.7K | 6.3K |
| Dependents | 15 | 170 | 140 |
| Releases | 7 | 9 | 33 |
| Last Updated | 133d ago | 9d ago | 929d ago |
| Age | 4m | 6y 7m | 7y 6m |
Health Breakdown
include-file
Maintenance
17
Quality
12
Community
9
Popularity
5
Documentation
12
include-flate
Maintenance
16
Quality
17
Community
12
Popularity
8
Documentation
10
lazy-static-include
Maintenance
6
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| include-file | include-flate | lazy-static-include | |
|---|---|---|---|
| Version | 0.5.1 | 0.3.2 | 3.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 3 | 2 | 7 |
| Crate Size | 18KB | 10KB | 6KB |
| Features | 4 | 4 | 0 |
| Yanked % | 14.3% | 0.0% | 12.1% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.85.0 | — | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •include-flate leads with a health score of 63/100, but none of the options score above 80.
- •include-flate is depended on by 170 crates — strongest ecosystem trust.
- •⚠ lazy-static-include has not been updated in over a year.
- •include-file, include-flate are pre-1.0 — API may change.