Decision Workspace
include_url_macro vs lazy-static-include vs url-static
Side-by-side comparison of Rust crates
44
include_url_macro
growingv0.1.2
A procedural macro to include URL content as static strings at compile time
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.
58
url-static
growingv1.0.0
Simple macro for compile-time URL validation
Core Metrics
| include_url_macro | lazy-static-include | url-static | |
|---|---|---|---|
| Health Score | 44 | 60 | 58 |
| Total Downloads | 1.4K | 365.4K | 31.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 144 | 2 |
| Releases | 3 | 35 | 7 |
| Last Updated | 319d ago | 70d ago | 27d ago |
| Age | 1y 7m | 8y 1m | 7m |
Health Breakdown
include_url_macro
Maintenance
7
Quality
15
Community
5
Popularity
4
Documentation
13
lazy-static-include
Maintenance
14
Quality
15
Community
12
Popularity
7
Documentation
12
url-static
Maintenance
17
Quality
17
Community
7
Popularity
5
Documentation
12
Technical Details
| include_url_macro | lazy-static-include | url-static | |
|---|---|---|---|
| Version | 0.1.2 | 4.0.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 6 | 5 |
| Crate Size | 17KB | 6KB | 12KB |
| Features | 4 | 0 | 4 |
| Yanked % | 0.0% | 11.4% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85.1 |
| 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.
- •lazy-static-include is depended on by 144 crates — strongest ecosystem trust.
- •include_url_macro is pre-1.0 — API may change.