Decision Workspace
ternary-rs vs inline_default vs mathelogos
Side-by-side comparison of Rust crates
42
ternary-rs
growingv1.0.0
A Rust library for emulating the ternary operator from C/C++ (among other languages)
42
inline_default
growingv1.2.0
Macro for inline Default implementation.
41
mathelogos
growingv0.1.1
Library to make Rust as a functional programming language.
Core Metrics
| ternary-rs | inline_default | mathelogos | |
|---|---|---|---|
| Health Score | 42 | 42 | 41 |
| Total Downloads | 8.5K | 10.6K | 2.7K |
| 30d Downloads | 37 | 501 | 4 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 3 | 2 |
| Last Updated | 1897d ago | 1127d ago | 678d ago |
| Age | 5y 2m | 3y 7m | 1y 10m |
Health Breakdown
ternary-rs
Maintenance
1
Quality
21
Community
6
Popularity
5
Documentation
9
inline_default
Maintenance
4
Quality
21
Community
5
Popularity
5
Documentation
7
mathelogos
Maintenance
5
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| ternary-rs | inline_default | mathelogos | |
|---|---|---|---|
| Version | 1.0.0 | 1.2.0 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 6KB | 6KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ternary-rs leads with a health score of 42/100, but none of the options score above 80.
- •inline_default has the most downloads (10.6K), suggesting wider adoption.
- •⚠ ternary-rs, inline_default, mathelogos have not been updated in over a year.
- •mathelogos is pre-1.0 — API may change.