Decision Workspace
static-toml vs toml_const vs embed_it
Side-by-side comparison of Rust crates
49
static-toml
growingv1.3.0
Effortlessly embed TOML files into your Rust code as static data with custom data structures.
61
toml_const
stablev1.3.1
Compile-time constants from TOML
54
embed_it
growingv7.1.0
A proc-macro library for to create rust structs from file system entries and include content as a reference to a byte array.
Core Metrics
| static-toml | toml_const | embed_it | |
|---|---|---|---|
| Health Score | 49 | 61 | 54 |
| Total Downloads | 172.8K | 44.4K | 7.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 55 | 3 | 0 |
| Releases | 5 | 10 | 11 |
| Last Updated | 663d ago | 64d ago | 321d ago |
| Age | 3y 3m | 2y 10m | 1y 8m |
Health Breakdown
static-toml
Maintenance
4
Quality
18
Community
11
Popularity
6
Documentation
10
toml_const
Maintenance
14
Quality
21
Community
8
Popularity
6
Documentation
12
embed_it
Maintenance
9
Quality
22
Community
6
Popularity
5
Documentation
12
Technical Details
| static-toml | toml_const | embed_it | |
|---|---|---|---|
| Version | 1.3.0 | 1.3.1 | 7.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 3 | 4 |
| Crate Size | 25KB | 6KB | 20KB |
| Features | 0 | 2 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.56 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •toml_const leads with a health score of 61/100, but none of the options score above 80.
- •static-toml has the most downloads (172.8K), suggesting wider adoption.
- •⚠ static-toml has not been updated in over a year.