rustio rustio.net
48

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 421 crates
  • โœ“Tiny footprint (10KB, 0 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
487.4K
Dependents
421
Releases
1
Size
10KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

131.9K downloads in the last 30 days (4.4K/day), up 45% from the previous period.

๐Ÿ”—
Moderate adoption

421 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.

๐ŸŒŸ
Used by top crates

Notable dependents include re_memory, re_video, re_chunk_store, re_view_spatial, re_auth. When high-quality crates choose saturating_cast, it's a strong quality signal.

Health Breakdown

Maintenance 1/25

Recency, release consistency, active ratio

Quality 17/25

Yanked ratio, deps, size, maturity, features

Community 13/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
3K/day avg+88%
02K4K6K12/301/172/42/223/123/29

Top Dependents

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
421
crates depend on saturating_cast

Similar Crates