Decision Workspace
assert_json vs expect-json-macros vs expect-json
Side-by-side comparison of Rust crates
38
assert_json
growingv0.1.0
json testing made simple
64
expect-json-macros
stablev1.11.0
Macros for Expect Json
63
expect-json
stablev1.11.0
For comparisons on JSON data
Core Metrics
| assert_json | expect-json-macros | expect-json | |
|---|---|---|---|
| Health Score | 38 | 64 | 63 |
| Total Downloads | 95.8K | 5.7M | 5.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 22 | 28 |
| Releases | 1 | 19 | 21 |
| Last Updated | 1784d ago | 136d ago | 136d ago |
| Age | 4y 10m | 1y 5m | 1y 6m |
Health Breakdown
assert_json
Maintenance
1
Quality
14
Community
9
Popularity
6
Documentation
8
expect-json-macros
Maintenance
12
Quality
19
Community
10
Popularity
8
Documentation
15
expect-json
Maintenance
12
Quality
18
Community
10
Popularity
8
Documentation
15
Technical Details
| assert_json | expect-json-macros | expect-json | |
|---|---|---|---|
| Version | 0.1.0 | 1.11.0 | 1.11.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | non-standard | MIT | MIT |
| Dependencies | 5 | 3 | 14 |
| Crate Size | 10KB | 4KB | 57KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •expect-json-macros leads with a health score of 64/100, but none of the options score above 80.
- •⚠ assert_json has not been updated in over a year.
- •assert_json is pre-1.0 — API may change.