Email me

Crates / const-random-macro / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to const-random-macro

Short answerThe closest alternatives to const-random-macro on crates.io data are lazy_static (2.4M real downloads a day), schemars (2.4M real downloads a day), tracing-attributes (2.3M real downloads a day). Of the 8 we list, the most used is lazy_static, and 6 shipped a release in the last year. const-random-macro itself gets 551,480 a day with 1 dependents.

Every alternative we found

AlternativeReal downloads a dayvs const-random-macroDependentsLast releaseWhy it is listed
lazy_static Foundational2,449,9974.44x10,95323dkeyword "macro"compare
schemars Widely used2,383,9964.32x6,65912dkeyword "rust"compare
tracing-attributes Pulled in2,272,6844.12x4811mokeyword "macro"compare
proc-macro-crate Established1,677,7153.04x9598mokeyword "macro"compare
quick-error Established1,130,0442.05x2935.5ykeyword "macro"compare
schemars_derive Pulled in952,3441.73x612dkeyword "rust"compare
document-features Established703,4841.28x67212mokeyword "macro"compare
new_debug_unreachable Pulled in691,3501.25x232.6ykeyword "macro"compare

How to choose

  • Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with const-random-macro; 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 const-random-macro: 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 const-random-macro, 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: Foundational and steady. 2,449,997 real downloads a day.lazy_staticRust crate. A macro for declaring lazily evaluated statics in Rust. Real use: 2.4M downloads a day on quiet days; 10,953 crates depend on it.Read it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ