Decision Workspace
object-safe vs assert-impl-trait vs dyn_safe
Side-by-side comparison of Rust crates
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.
45
dyn_safe
growingv0.1.0
Take control of the Semver hazard of the `dyn` safety of your traits!
Core Metrics
| object-safe | assert-impl-trait | dyn_safe | |
|---|---|---|---|
| Health Score | 43 | 48 | 45 |
| Total Downloads | 5.1K | 67 | 8.3K |
| 30d Downloads | 10 | 27 | 144 |
| Dependents | 3 | 7 | 3 |
| Releases | 4 | 1 | 5 |
| Last Updated | 953d ago | 70d ago | 219d ago |
| Age | 2y 7m | 2m | 5y 4m |
Health Breakdown
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
dyn_safe
Maintenance
6
Quality
15
Community
7
Popularity
5
Documentation
12
Technical Details
| object-safe | assert-impl-trait | dyn_safe | |
|---|---|---|---|
| Version | 0.3.1 | 1.0.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Zlib OR MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 4KB | 11KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| 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.
- •dyn_safe has the most downloads (8.3K), suggesting wider adoption.
- •⚠ object-safe has not been updated in over a year.
- •object-safe, dyn_safe are pre-1.0 — API may change.