rustio rustio.net
47

cast

v0.3.0 Growing

Ergonomic, checked cast functions for primitive types

MIT OR Apache-2.0 Edition 2018
#float#integer#checked#cast#primitive

Quick Verdict

  • โœ•Not updated for 5+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.9K crates depend on it)
  • โœ“Tiny footprint (11KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
281.5M
Dependents
1.9K
Releases
10
Size
11KB

Deep Insights

๐Ÿ“Š
Steady growth

26.0M downloads in the last 30 days (867.4K/day), up 18% from the previous period.

๐Ÿ”—
Widely adopted

1.9K crates depend on cast. Strong ecosystem adoption means battle-tested code and long-term stability.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 91 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Minimal dependencies

Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include criterion, criterion-plot, wasm-bindgen-test, codspeed-criterion-compat-walltime, linux-embedded-hal. When high-quality crates choose cast, it's a strong quality signal.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 12/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
101K/day avg-100%
0500K1.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v0.3.0
91%
v0.2.7
6%
v0.2.3
2%
v0.2.2
1%
v0.2.6
1%

Release Timeline

10 releases1 yankedsince 2016
J
F
M
A
M
J
J
A
S
O
N
D
2016
1
2017
3
2018
2019
1
2020
2021
5
2022
2023
2024
2025
2026
Less
More|
Yanked

Feature Flags

std

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
1.9K
crates depend on cast

Similar Crates