Crates / toml_writer / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to toml_writer
Short answerThe closest alternatives to toml_writer on crates.io data are leb128fmt (630K real downloads a day), lexical-core (351K real downloads a day), lexical-write-float (311K real downloads a day). Of the 8 we list, the most used is base64, and 3 shipped a release in the last year. toml_writer itself gets 1,210,489 a day with 15 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs toml_writer | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| leb128fmt Pulled in | 629,549 | 0.52x | 4 | 3.1y | category Encoding, keyword "encoding", keyword "no_std" | compare |
| lexical-core Pulled in | 351,327 | 0.29x | 72 | 13mo | category Encoding, keyword "encoding", keyword "no_std" | compare |
| lexical-write-float Pulled in | 310,656 | 0.26x | 3 | 13mo | category Encoding, keyword "encoding", keyword "no_std" | compare |
| lexical-write-integer Pulled in | 310,437 | 0.26x | 3 | 13mo | category Encoding, keyword "encoding", keyword "no_std" | compare |
| base64 Foundational | 4,638,981 | 3.83x | 19,537 | 3mo | category Encoding, keyword "no_std" | compare |
| serde Foundational | 4,327,945 | 3.58x | 133,588 | 3mo | category Encoding, keyword "no_std" | compare |
| serde_core Established | 3,794,333 | 3.13x | 229 | 3mo | category Encoding, keyword "no_std" | compare |
| utf8_iter Pulled in | 2,136,300 | 1.76x | 12 | 2.9y | category Encoding, keyword "encoding" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with toml_writer; 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 toml_writer: 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 toml_writer, 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 losing ground. 629,549 real downloads a day.leb128fmtRust crate. A library to encode and decode LEB128 compressed integers. Real use: 630K downloads a day on quiet days; 4 crates depend on it.Read it next →Also worth your time