weighted_rand
v0.4.2 GrowingA weighted random sampling crate using Walker's Alias Method.
Quick Verdict
- โNot updated for 2+ years
- !Pre-1.0: API may have breaking changes
- โTiny footprint (16KB, 3 deps)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
606 downloads in the last 30 days (20/day), up 26% from the previous period.
Despite being 4+ years old, weighted_rand hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 3 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 16KB, weighted_rand is lightweight. Small crate size correlates with focused, well-scoped functionality.
13% of releases have been yanked. Check version history before pinning.
Notable dependents include chainfile, fictionary, markov_rs, lindenmayer_graphic, choose-rand. When high-quality crates choose weighted_rand, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on weighted_rand