Decision Workspace
typechain vs object-safe vs assert-impl-trait
Side-by-side comparison of Rust crates
38
typechain
growingv0.1.0
Create chains of trait objects
43
object-safe
growingv0.3.1
Implement object-unsafe traits for trait objects
48
assert-impl-trait
experimentalv1.0.0
Provides a macro to assert that a type implements a trait.
Core Metrics
| typechain | object-safe | assert-impl-trait | |
|---|---|---|---|
| Health Score | 38 | 43 | 48 |
| Total Downloads | 1.5K | 5.1K | 67 |
| 30d Downloads | 3 | 10 | 26 |
| Dependents | 0 | 3 | 7 |
| Releases | 1 | 4 | 1 |
| Last Updated | 1028d ago | 953d ago | 70d ago |
| Age | 2y 9m | 2y 7m | 2m |
Health Breakdown
typechain
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
13
object-safe
Maintenance
5
Quality
16
Community
8
Popularity
4
Documentation
10
assert-impl-trait
Maintenance
9
Quality
17
Community
8
Popularity
2
Documentation
12
Technical Details
| typechain | object-safe | assert-impl-trait | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 2 |
| Crate Size | 7KB | 4KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.90.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •assert-impl-trait leads with a health score of 48/100, but none of the options score above 80.
- •object-safe has the most downloads (5.1K), suggesting wider adoption.
- •⚠ typechain, object-safe have not been updated in over a year.
- •typechain, object-safe are pre-1.0 — API may change.