Decision Workspace
pinned-init vs droppable-pin vs shadow-clone
Side-by-side comparison of Rust crates
47
pinned-init
growingv0.0.10
Library to facilitate safe pinned initialization
53
droppable-pin
experimentalv0.1.1
The eponoymous `droppable_pin!` macro around a given `let var = pin!()` declaration allows invoking `pin_drop!` and `pin_set!` on the given `var`, which have in turn been designed to avoid silly borrow-checking errors.
51
shadow-clone
growingv1.2.1
A macro to clone variables into the current scope shadowing old ones.
Core Metrics
| pinned-init | droppable-pin | shadow-clone | |
|---|---|---|---|
| Health Score | 47 | 53 | 51 |
| Total Downloads | 273.2K | 964 | 92.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 45 | 0 | 10 |
| Releases | 11 | 6 | 7 |
| Last Updated | 417d ago | 70d ago | 2364d ago |
| Age | 4y 5m | 11m | 7y 4m |
Health Breakdown
pinned-init
Maintenance
6
Quality
11
Community
11
Popularity
6
Documentation
13
droppable-pin
Maintenance
15
Quality
16
Community
3
Popularity
4
Documentation
15
shadow-clone
Maintenance
3
Quality
21
Community
9
Popularity
6
Documentation
12
Technical Details
| pinned-init | droppable-pin | shadow-clone | |
|---|---|---|---|
| Version | 0.0.10 | 0.1.1 | 1.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Zlib OR MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 7 | 3 | 0 |
| Crate Size | 63KB | 17KB | 3KB |
| Features | 4 | 4 | 0 |
| Yanked % | 27.3% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •droppable-pin leads with a health score of 53/100, but none of the options score above 80.
- •pinned-init has the most downloads (273.2K), suggesting wider adoption.
- •⚠ pinned-init, shadow-clone have not been updated in over a year.
- •pinned-init, droppable-pin are pre-1.0 — API may change.