Decision Workspace
structinator_traits vs structinator vs serde_json_any_key
Side-by-side comparison of Rust crates
35
structinator_traits
growingv0.2.0
Library for traits allowing transfer of data from iterators to structs
35
structinator
growingv0.1.2
Library for transfering data from iterators to structs
60
serde_json_any_key
stablev2.1.0
Workaround for "key must be a string" error with serde_json. De/serialize any HashMap<K,V>, Vec<K,V>, Iter<(&K,&V)>, or Iter<&(K,V)> as a JSON map.
Core Metrics
| structinator_traits | structinator | serde_json_any_key | |
|---|---|---|---|
| Health Score | 35 | 35 | 60 |
| Total Downloads | 8.9K | 3.0K | 535.8K |
| 30d Downloads | 37 | 20 | 6.9K |
| Dependents | 2 | 3 | 18 |
| Releases | 7 | 2 | 5 |
| Last Updated | 624d ago | 648d ago | 9d ago |
| Age | 2y 7m | 2y 7m | 3y 10m |
Health Breakdown
structinator_traits
Maintenance
4
Quality
9
Community
7
Popularity
5
Documentation
10
structinator
Maintenance
4
Quality
9
Community
8
Popularity
4
Documentation
10
serde_json_any_key
Maintenance
15
Quality
20
Community
8
Popularity
7
Documentation
10
Technical Details
| structinator_traits | structinator | serde_json_any_key | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.2 | 2.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | Unlicense |
| Dependencies | 2 | 3 | 2 |
| Crate Size | 2KB | 4KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 71.4% | 50.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •serde_json_any_key leads with a health score of 60/100, but none of the options score above 80.
- •⚠ structinator_traits, structinator have not been updated in over a year.
- •structinator_traits, structinator are pre-1.0 — API may change.