Crates / stable_deref_trait / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to stable_deref_trait
Short answerThe closest alternatives to stable_deref_trait on crates.io data are once_cell (3.8M real downloads a day), slab (3M real downloads a day), zerovec-derive (2.6M real downloads a day). Of the 8 we list, the most used is once_cell, and 8 shipped a release in the last year. stable_deref_trait itself gets 2,440,590 a day with 110 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs stable_deref_trait | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| once_cell Widely used | 3,785,180 | 1.55x | 8,656 | 7mo | category Memory management | compare |
| slab Established | 3,013,568 | 1.23x | 619 | 9mo | category Memory management, category No standard library | compare |
| zerovec-derive Pulled in | 2,561,390 | 1.05x | 6 | 2d | category Memory management, category No standard library | compare |
| zerovec Pulled in | 2,516,803 | 1.03x | 60 | 2d | category Memory management, category No standard library | compare |
| lazy_static Foundational | 2,449,997 | 1.00x | 10,953 | 23d | category Memory management, category No standard library | compare |
| yoke-derive Pulled in | 2,432,865 | 1.00x | 14 | 24d | category Memory management, category No standard library | compare |
| zeroize Widely used | 2,397,082 | 0.98x | 5,204 | 18d | category Memory management, category No standard library | compare |
| zerofrom-derive Pulled in | 2,353,727 | 0.96x | 3 | 39d | category Memory management, category No standard library | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with stable_deref_trait; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For stable_deref_trait: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with stable_deref_trait, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Widely used and steady. 3,785,180 real downloads a day.once_cellRust crate. Single assignment cells and lazy values. Real use: 3.8M downloads a day on quiet days; 8,656 crates depend on it.Read it next →Also worth your time