Decision Workspace
unify vs refl vs identity
Side-by-side comparison of Rust crates
41
unify
growingv0.0.3
Trait-based equality constraint for Rust
42
refl
growingv0.2.1
Provides a `refl` encoding which you can use to provide a proof witness that one type is equivalent (identical) to another type. You can use this to encode a subset of what GADTs allow you to in Haskell.
41
identity
growingv0.0.6
A stable Rust implementation of an identity (a.k.a., “equality witness”) type.
Core Metrics
| unify | refl | identity | |
|---|---|---|---|
| Health Score | 41 | 42 | 41 |
| Total Downloads | 7.8K | 21.6K | 11.1K |
| 30d Downloads | 6 | 151 | 31 |
| Dependents | 4 | 12 | 0 |
| Releases | 4 | 6 | 6 |
| Last Updated | 3759d ago | 2223d ago | 3542d ago |
| Age | 11y 2m | 8y 2m | 9y 9m |
Health Breakdown
unify
Maintenance
2
Quality
16
Community
7
Popularity
5
Documentation
11
refl
Maintenance
3
Quality
16
Community
6
Popularity
5
Documentation
12
identity
Maintenance
6
Quality
16
Community
3
Popularity
5
Documentation
11
Technical Details
| unify | refl | identity | |
|---|---|---|---|
| Version | 0.0.3 | 0.2.1 | 0.0.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT/Apache-2.0 | Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 3KB | 9KB | 10KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | — |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •refl leads with a health score of 42/100, but none of the options score above 80.
- •⚠ unify, refl, identity have not been updated in over a year.