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
47
assert-impl-trait
growingv1.0.0
Provides a macro to assert that a type implements a trait.
43
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 | 47 | 43 |
| Total Downloads | 5.2K | 895 | 9.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 16 | 4 |
| Releases | 4 | 1 | 5 |
| Last Updated | 1149d ago | 266d ago | 415d ago |
| Age | 3y 2m | 8m | 5y 10m |
Health Breakdown
object-safe
Maintenance
5
Quality
16
Community
8
Popularity
4
Documentation
10
assert-impl-trait
Maintenance
4
Quality
18
Community
9
Popularity
4
Documentation
12
dyn_safe
Maintenance
4
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 47/100, but none of the options score above 80.
- •dyn_safe has the most downloads (9.6K), suggesting wider adoption.
- •⚠ object-safe, dyn_safe have not been updated in over a year.
- •object-safe, dyn_safe are pre-1.0 — API may change.