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 4+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.8K crates depend on it)
  • โœ“Tiny footprint (11KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
185.9M
Dependents
1.8K
Releases
10
Size
11KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

14.4M downloads in the last 30 days (481.0K/day), up 27% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 92 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, linux-embedded-hal, codspeed-criterion-compat-walltime. 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
414K/day avg+26%
0200K400K600K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.3.0
88%
v0.2.7
7%
v0.2.3
3%
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.8K
crates depend on cast

Similar Crates