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)
43
inline_default
growingv1.2.0
Macro for inline Default implementation.
40
mathelogos
growingv0.1.1
Library to make Rust as a functional programming language.
Core Metrics
| ternary-rs | inline_default | mathelogos | |
|---|---|---|---|
| Health Score | 42 | 43 | 40 |
| Total Downloads | 8.7K | 82.7K | 2.7K |
| 30d Downloads | 0 | 33.0K | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 3 | 2 |
| Last Updated | 2005d ago | 1235d ago | 786d ago |
| Age | 5y 6m | 3y 11m | 2y 1m |
Health Breakdown
ternary-rs
Maintenance
1
Quality
21
Community
6
Popularity
5
Documentation
9
inline_default
Maintenance
4
Quality
21
Community
5
Popularity
6
Documentation
7
mathelogos
Maintenance
4
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
- •inline_default leads with a health score of 43/100, but none of the options score above 80.
- •⚠ ternary-rs, inline_default, mathelogos have not been updated in over a year.
- •mathelogos is pre-1.0 — API may change.