Crates / toml_edit / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to toml_edit
Short answerThe closest alternatives to toml_edit on crates.io data are leb128fmt (630K real downloads a day), lexical-core (351K real downloads a day), quick-xml (1.5M real downloads a day). Of the 8 we list, the most used is utf8_iter, and 3 shipped a release in the last year. toml_edit itself gets 2,715,071 a day with 1,989 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs toml_edit | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| leb128fmt Pulled in | 629,549 | 0.23x | 4 | 3.1y | category Encoding, category Parser implementations, keyword "encoding" | compare |
| lexical-core Pulled in | 351,327 | 0.13x | 72 | 13mo | category Encoding, category Parsing tools, keyword "encoding" | compare |
| quick-xml Widely used | 1,525,182 | 0.56x | 2,687 | 2mo | category Encoding, category Parser implementations | compare |
| utf8_iter Pulled in | 2,136,300 | 0.79x | 12 | 2.9y | category Encoding, keyword "encoding" | compare |
| encoding_rs Widely used | 1,414,714 | 0.52x | 1,424 | 30d | category Encoding, keyword "encoding" | compare |
| simple_asn1 Pulled in | 562,960 | 0.21x | 47 | 8mo | category Encoding, keyword "encoding" | compare |
| utf16_iter Pulled in | 349,411 | 0.13x | 3 | 2.9y | category Encoding, keyword "encoding" | compare |
| lexical-write-float Pulled in | 310,656 | 0.11x | 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_edit; 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_edit: 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_edit, 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