Decision Workspace
include_url_macro vs lazy-static-include vs url-static
Side-by-side comparison of Rust crates
45
include_url_macro
growingv0.1.2
A procedural macro to include URL content as static strings 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.
52
url-static
experimentalv0.2.0
Simple macro for compile-time URL validation
Core Metrics
| include_url_macro | lazy-static-include | url-static | |
|---|---|---|---|
| Health Score | 45 | 64 | 52 |
| Total Downloads | 1.3K | 352.6K | 348 |
| 30d Downloads | 0 | 2.5K | 0 |
| Dependents | 0 | 142 | 2 |
| Releases | 3 | 34 | 6 |
| Last Updated | 231d ago | 6d ago | 67d ago |
| Age | 1y 5m | 7y 10m | 4m |
Health Breakdown
include_url_macro
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
13
lazy-static-include
Maintenance
18
Quality
15
Community
12
Popularity
7
Documentation
12
url-static
Maintenance
15
Quality
15
Community
7
Popularity
3
Documentation
12
Technical Details
| include_url_macro | lazy-static-include | url-static | |
|---|---|---|---|
| Version | 0.1.2 | 4.0.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| 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.8% | 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 64/100, but none of the options score above 80.
- •lazy-static-include is depended on by 142 crates — strongest ecosystem trust.
- •include_url_macro, url-static are pre-1.0 — API may change.