rustio rustio.net
62

downcast-rs

v2.0.2 Growing

Trait object downcasting support using only safe Rust. It supports type parameters, associated types, and type constraints.

MIT OR Apache-2.0 Edition 2021 MSRV 1.56
Rust patterns #any#trait#downcast#no_std#associated

Quick Verdict

  • ✕Not updated for 1+ year
  • ✓Stable API (2.x for 10+ years)
  • ✓Massive adoption (5.1K crates depend on it)
  • ✓Tiny footprint (13KB, 0 deps)
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
179.3M
Dependents
5.1K
Releases
15
Size
13KB

Deep Insights

📈
Strong growth momentum

19.5M downloads in the last 30 days (650.7K/day), up 30% from the previous period.

🔗
Widely adopted

5.1K crates depend on downcast-rs. Strong ecosystem adoption means battle-tested code and long-term stability.

⚠️
Single maintainer risk

downcast-rs has only 1 owner despite 5.1K dependents. This is a bus-factor concern — consider the implications for long-term support.

✅
Stable for 10+ years

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

🪶
Zero dependencies

downcast-rs has no external dependencies — minimal supply chain risk and fast compile times.

📐
Compact crate

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

🌟
Used by top crates

Notable dependents include wayland-backend, diesel, valico, portable-pty, tantivy. When high-quality crates choose downcast-rs, it's a strong quality signal.

Health Breakdown

Maintenance 5/25

Recency, release consistency, active ratio

Quality 23/25

Yanked ratio, deps, size, maturity, features

Community 14/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
71K/day avg-100%
0200K400K600K800K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.2.1
56%
v1.2.0
26%
v2.0.2
14%
v2.0.1
3%
v1.1.1
1%

Release Timeline

10 releasessince 2018
J
F
M
A
M
J
J
A
S
O
N
D
2018
2
2019
3
2020
1
2021
2022
2023
2024
1
2025
3
2026
Less
More

Feature Flags

default =["std", "sync"]

std*sync*

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
5.1K
crates depend on downcast-rs

Similar Crates