Decision Workspace
tuple_for_each vs crate_interface vs tuples
Side-by-side comparison of Rust crates
43
tuple_for_each
growingv0.1.0
Provides macros and methods to iterate over the fields of a tuple struct
68
crate_interface
growingv0.3.0
Provides a way to define an interface (trait) in a crate, but can implement or use it in any crate.
62
tuples
stablev1.20.1
Provides many useful tools related to tuples
Core Metrics
| tuple_for_each | crate_interface | tuples | |
|---|---|---|---|
| Health Score | 43 | 68 | 62 |
| Total Downloads | 1.4K | 130.8K | 184.9K |
| 30d Downloads | 3 | 15.4K | 12.1K |
| Dependents | 0 | 84 | 23 |
| Releases | 1 | 7 | 23 |
| Last Updated | 618d ago | 58d ago | 103d ago |
| Age | 1y 8m | 2y 10m | 5y 4m |
Health Breakdown
tuple_for_each
Maintenance
1
Quality
15
Community
10
Popularity
4
Documentation
13
crate_interface
Maintenance
14
Quality
17
Community
16
Popularity
6
Documentation
15
tuples
Maintenance
13
Quality
23
Community
10
Popularity
6
Documentation
10
Technical Details
| tuple_for_each | crate_interface | tuples | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 1.20.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0 | Apache-2.0 | MIT |
| Dependencies | 3 | 3 | 0 |
| Crate Size | 4KB | 18KB | 218KB |
| Features | 0 | 2 | 30 |
| Yanked % | 0.0% | 0.0% | 4.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.68 | — |
| Owners | 2 (team) | 2 (team) | 1 |
Links
Quick Verdict
- •crate_interface leads with a health score of 68/100, but none of the options score above 80.
- •tuples has the most downloads (184.9K), suggesting wider adoption.
- •⚠ tuple_for_each has not been updated in over a year.
- •tuple_for_each, crate_interface are pre-1.0 — API may change.