rustio rustio.net
42

ternary-rs

v1.0.0 Growing

A Rust library for emulating the ternary operator from C/C++ (among other languages)

MIT OR Apache-2.0 Edition 2018
Rust patternsNo standard library #macro#utility#rust#language#no_std

Quick Verdict

  • โœ•Not updated for 5+ years
  • โœ“Stable API (1.x for 5+ years)
  • โœ“Tiny footprint (6KB, 0 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
8.5K
Dependents
0
Releases
1
Size
6KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

39 downloads in the last 30 days (1/day), up 95% from the previous period.

โœ…
Stable for 5+ years

The API has been stable (1.x) for over 5 years with 1 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿชถ
Zero dependencies

ternary-rs has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 6KB, ternary-rs is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 1/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 6/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 9/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1/day avg+86%
05101512/291/162/32/213/113/28

Version Adoption

v1.0.0
100%

Release Timeline

1 releasessince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
1
2022
2023
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
0
crates depend on ternary-rs

Similar Crates