Crates / kv-log-macro / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to kv-log-macro
Short answerThe closest alternatives to kv-log-macro on crates.io data are tracing-attributes (2.3M real downloads a day), lazy_static (2.4M real downloads a day), proc-macro-crate (1.7M real downloads a day). Of the 8 we list, the most used is lazy_static, and 6 shipped a release in the last year. kv-log-macro itself gets 132,559 a day with 22 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs kv-log-macro | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| tracing-attributes Pulled in | 2,272,684 | 17.14x | 48 | 11mo | keyword "log", keyword "macro" | compare |
| lazy_static Foundational | 2,449,997 | 18.48x | 10,953 | 23d | keyword "macro" | compare |
| proc-macro-crate Established | 1,677,715 | 12.66x | 959 | 8mo | keyword "macro" | compare |
| tracing-log Established | 1,664,731 | 12.56x | 476 | 3.0y | keyword "log" | compare |
| pkcs8 Established | 1,245,962 | 9.40x | 361 | 6mo | keyword "key" | compare |
| quick-error Established | 1,130,044 | 8.52x | 293 | 5.5y | keyword "macro" | compare |
| pem-rfc7468 Pulled in | 1,099,295 | 8.29x | 73 | 12mo | keyword "key" | compare |
| env_logger Foundational | 1,046,756 | 7.90x | 12,204 | 4mo | keyword "log" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with kv-log-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 kv-log-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 kv-log-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: Few direct dependents and steady. 2,272,684 real downloads a day.tracing-attributesRust crate. Procedural macro attributes for automatically instrumenting functions. Real use: 2.3M downloads a day on quiet days; 48 crates depend on it.Read it next →Also worth your time