Decision Workspace
assert-json-diff vs expect-json-macros vs expect-json
Side-by-side comparison of Rust crates
58
assert-json-diff
growingv2.0.2
Easily compare two JSON values and get great output
68
expect-json-macros
growingv1.10.1
Macros for Expect Json
67
expect-json
growingv1.10.1
For comparisons on JSON data
Core Metrics
| assert-json-diff | expect-json-macros | expect-json | |
|---|---|---|---|
| Health Score | 58 | 68 | 67 |
| Total Downloads | 82.3M | 1.7M | 1.7M |
| 30d Downloads | 7.2M | 705.1K | 705.2K |
| Dependents | 3.7K | 21 | 23 |
| Releases | 11 | 18 | 20 |
| Last Updated | 1367d ago | 22d ago | 22d ago |
| Age | 7y 5m | 11m | 12m |
Health Breakdown
assert-json-diff
Maintenance
5
Quality
19
Community
14
Popularity
8
Documentation
12
expect-json-macros
Maintenance
18
Quality
18
Community
10
Popularity
7
Documentation
15
expect-json
Maintenance
18
Quality
17
Community
10
Popularity
7
Documentation
15
Technical Details
| assert-json-diff | expect-json-macros | expect-json | |
|---|---|---|---|
| Version | 2.0.2 | 1.10.1 | 1.10.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 3 | 14 |
| Crate Size | 11KB | 4KB | 56KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •expect-json-macros leads with a health score of 68/100, but none of the options score above 80.
- •assert-json-diff has the most downloads (82.3M), suggesting wider adoption.
- •assert-json-diff is depended on by 3.7K crates — strongest ecosystem trust.
- •⚠ assert-json-diff has not been updated in over a year.