Crates / toml_write / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to toml_write
Short answerThe closest alternatives to toml_write on crates.io data are utf8_iter (2.1M real downloads a day), encoding_rs (1.4M real downloads a day), leb128fmt (630K real downloads a day). Of the 8 we list, the most used is utf8_iter, and 2 shipped a release in the last year. toml_write itself gets 731,741 a day with 0 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs toml_write | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| utf8_iter Pulled in | 2,136,300 | 2.92x | 12 | 2.9y | category Encoding, keyword "encoding" | compare |
| encoding_rs Widely used | 1,414,714 | 1.93x | 1,424 | 30d | category Encoding, keyword "encoding" | compare |
| leb128fmt Pulled in | 629,549 | 0.86x | 4 | 3.1y | category Encoding, keyword "encoding" | compare |
| simple_asn1 Pulled in | 562,960 | 0.77x | 47 | 8mo | category Encoding, keyword "encoding" | compare |
| lexical-core Pulled in | 351,327 | 0.48x | 72 | 13mo | category Encoding, keyword "encoding" | compare |
| utf16_iter Pulled in | 349,411 | 0.48x | 3 | 2.9y | category Encoding, keyword "encoding" | compare |
| lexical-write-float Pulled in | 310,656 | 0.42x | 3 | 13mo | category Encoding, keyword "encoding" | compare |
| lexical-write-integer Pulled in | 310,437 | 0.42x | 3 | 13mo | 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_write; 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_write: 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_write, 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 quiet for years. 2,136,300 real downloads a day.utf8_iterRust crate. Iterator by char over potentially-invalid UTF-8 in &[u8]. Real use: 2.1M downloads a day on quiet days; 12 crates depend on it.Read it next →Also worth your time