Decision Workspace
try_into_opt vs result-like vs return-ok
Side-by-side comparison of Rust crates
35
try_into_opt
growingv0.1.0
A macro like try!, but turns a Result into an Option, mainly for use in a filter_map
51
result-like
growingv0.5.1
Option/Result-like monad interface for your own enum
39
return-ok
experimentalv0.1.0
Macros for dealing with Options and Results where you shouldn't
Core Metrics
| try_into_opt | result-like | return-ok | |
|---|---|---|---|
| Health Score | 35 | 51 | 39 |
| Total Downloads | 2.7K | 543.8K | 392 |
| 30d Downloads | 3 | 43.3K | 23 |
| Dependents | 0 | 4 | 0 |
| Releases | 1 | 13 | 1 |
| Last Updated | 3690d ago | 207d ago | 169d ago |
| Age | 10y 1m | 6y 2m | 5m |
Health Breakdown
try_into_opt
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
11
result-like
Maintenance
9
Quality
15
Community
5
Popularity
7
Documentation
15
return-ok
Maintenance
6
Quality
15
Community
5
Popularity
3
Documentation
10
Technical Details
| try_into_opt | result-like | return-ok | |
|---|---|---|---|
| Version | 0.1.0 | 0.5.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | BSD-2-Clause-Views | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 0 |
| Crate Size | 8KB | 5KB | 7KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2024 | 2024 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •result-like leads with a health score of 51/100, but none of the options score above 80.
- •⚠ try_into_opt has not been updated in over a year.