Decision Workspace
include_url_macro vs url-static vs lazy-static-include
Side-by-side comparison of Rust crates
48
include_url_macro
growingv0.1.2
A procedural macro to include URL content as static strings at compile time
54
url-static
experimentalv0.1.4
Simple macro for compile-time URL validation
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_url_macro | url-static | lazy-static-include | |
|---|---|---|---|
| Health Score | 48 | 54 | 52 |
| Total Downloads | 1.2K | 155 | 337.6K |
| 30d Downloads | 26 | 155 | 6.3K |
| Dependents | 0 | 2 | 140 |
| Releases | 3 | 5 | 33 |
| Last Updated | 123d ago | 25d ago | 929d ago |
| Age | 1y 1m | 27d | 7y 6m |
Health Breakdown
include_url_macro
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
13
url-static
Maintenance
17
Quality
15
Community
7
Popularity
3
Documentation
12
lazy-static-include
Maintenance
6
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| include_url_macro | url-static | lazy-static-include | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.4 | 3.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 8 | 5 | 7 |
| Crate Size | 17KB | 12KB | 6KB |
| Features | 4 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 12.1% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85.1 | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •url-static leads with a health score of 54/100, but none of the options score above 80.
- •lazy-static-include has the most downloads (337.6K), suggesting wider adoption.
- •lazy-static-include is depended on by 140 crates — strongest ecosystem trust.
- •⚠ lazy-static-include has not been updated in over a year.
- •include_url_macro, url-static are pre-1.0 — API may change.