Decision Workspace
pin-weak vs weak-map vs weak-table
Side-by-side comparison of Rust crates
59
pin-weak
growingv1.1.0
Small wrapper around an equivalent of Pin<Weak<T>>
51
weak-map
growingv0.1.2
BTreeMap with weak references
48
weak-table
growingv0.3.2
Weak hash maps and sets
Core Metrics
| pin-weak | weak-map | weak-table | |
|---|---|---|---|
| Health Score | 59 | 51 | 48 |
| Total Downloads | 1.7M | 33.4K | 3.1M |
| 30d Downloads | 132.5K | 17.1K | 416.0K |
| Dependents | 348 | 18 | 491 |
| Releases | 2 | 3 | 12 |
| Last Updated | 1638d ago | 233d ago | 1636d ago |
| Age | 5y 9m | 1y 1m | 8y 2m |
Health Breakdown
pin-weak
Maintenance
3
Quality
23
Community
14
Popularity
7
Documentation
12
weak-map
Maintenance
8
Quality
16
Community
9
Popularity
5
Documentation
13
weak-table
Maintenance
4
Quality
17
Community
10
Popularity
8
Documentation
9
Technical Details
| pin-weak | weak-map | weak-table | |
|---|---|---|---|
| Version | 1.1.0 | 0.1.2 | 0.3.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 4KB | 10KB | 24KB |
| Features | 2 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •pin-weak leads with a health score of 59/100, but none of the options score above 80.
- •weak-table has the most downloads (3.1M), suggesting wider adoption.
- •weak-table is depended on by 491 crates — strongest ecosystem trust.
- •⚠ pin-weak, weak-table have not been updated in over a year.
- •weak-map, weak-table are pre-1.0 — API may change.