Decision Workspace
dry vs ct-for vs r4
Side-by-side comparison of Rust crates
44
dry
growingv0.1.1
Rust macros for idiomatic deduplication of code. Use whenever `macro_rules!` are too powerful and clunky.
37
ct-for
growingv0.1.1
macro to repeat code multiple times with different substitutions
42
r4
growingv1.0.1
A compact macro that generates iterators using for comprehensions and natural Rust syntax.
Core Metrics
| dry | ct-for | r4 | |
|---|---|---|---|
| Health Score | 44 | 37 | 42 |
| Total Downloads | 13.5K | 2.9K | 4.0K |
| 30d Downloads | 281 | 4 | 5 |
| Dependents | 32 | 0 | 0 |
| Releases | 2 | 2 | 2 |
| Last Updated | 1406d ago | 1500d ago | 2963d ago |
| Age | 3y 10m | 4y 1m | 8y 1m |
Health Breakdown
dry
Maintenance
4
Quality
16
Community
9
Popularity
5
Documentation
10
ct-for
Maintenance
3
Quality
15
Community
5
Popularity
4
Documentation
10
r4
Maintenance
3
Quality
21
Community
3
Popularity
4
Documentation
11
Technical Details
| dry | ct-for | r4 | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.1 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 1 | 2 | 0 |
| Crate Size | 12KB | 4KB | 9KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dry leads with a health score of 44/100, but none of the options score above 80.
- •⚠ dry, ct-for, r4 have not been updated in over a year.
- •dry, ct-for are pre-1.0 — API may change.