Decision Workspace
static-toml vs toml_const vs include_dir_as_map
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.0
Compile-time constants from TOML
55
include_dir_as_map
stablev1.2.0
Embed files from a directory as a hashmap in the rust binary
Core Metrics
| static-toml | toml_const | include_dir_as_map | |
|---|---|---|---|
| Health Score | 49 | 61 | 55 |
| Total Downloads | 113.9K | 6.8K | 3.4K |
| 30d Downloads | 6.3K | 0 | 0 |
| Dependents | 54 | 3 | 0 |
| Releases | 5 | 9 | 3 |
| Last Updated | 575d ago | 48d ago | 43d ago |
| Age | 3y | 2y 7m | 2y 10m |
Health Breakdown
static-toml
Maintenance
4
Quality
18
Community
11
Popularity
6
Documentation
10
toml_const
Maintenance
15
Quality
21
Community
8
Popularity
5
Documentation
12
include_dir_as_map
Maintenance
14
Quality
21
Community
6
Popularity
4
Documentation
10
Technical Details
| static-toml | toml_const | include_dir_as_map | |
|---|---|---|---|
| Version | 1.3.0 | 1.3.0 | 1.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 3 | 1 |
| Crate Size | 25KB | 6KB | 4KB |
| Features | 0 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56 | — |
| 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 (113.9K), suggesting wider adoption.
- •⚠ static-toml has not been updated in over a year.