rustio rustio.net
49

saturating_cast

v0.1.0 Growing

Library for saturating casts between integer primitives.

MIT OR Apache-2.0 Edition 2021
No standard libraryMathematics #conversion#cast#clamp#clip#saturating

Quick Verdict

  • โœ•Not updated for 2+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 573 crates
  • โœ“Tiny footprint (10KB, 0 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.4M
Dependents
573
Releases
1
Size
10KB

Deep Insights

๐Ÿ“Š
Stable downloads

128.8K downloads in the last 30 days (4.3K/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Moderate adoption

573 crates depend on saturating_cast. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 2+ years old, saturating_cast hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

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

๐Ÿ“
Compact crate

At 10KB, saturating_cast is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 1/25

Recency, release consistency, active ratio

Quality 17/25

Yanked ratio, deps, size, maturity, features

Community 14/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
123/day avg-100%
01K2K3K4K5K8/239/109/2810/1611/311/20

Top Dependents

Most downloaded crates that depend on saturating_cast

Version Adoption

v0.1.0
100%

Release Timeline

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

Feature Flags

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
573
crates depend on saturating_cast

Similar Crates