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>>
52
weak-map
experimentalv0.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 | 52 | 48 |
| Total Downloads | 1.5M | 9.1K | 2.4M |
| 30d Downloads | 86.5K | 1.9K | 207.7K |
| Dependents | 336 | 3 | 469 |
| Releases | 2 | 3 | 12 |
| Last Updated | 1579d ago | 174d ago | 1577d ago |
| Age | 5y 7m | 11m | 8y |
Health Breakdown
pin-weak
Maintenance
3
Quality
23
Community
14
Popularity
7
Documentation
12
weak-map
Maintenance
11
Quality
15
Community
8
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 (2.4M), suggesting wider adoption.
- •weak-table is depended on by 469 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.