Decision Workspace
whyhttp vs httptest vs philiprehberger-mock-server
Side-by-side comparison of Rust crates
46
whyhttp
experimentalv1.0.0
HTTP mock server for use in tests. Starts a real server, expectations configured via fluent builder API, verified automatically on drop.
56
httptest
growingv0.16.4
HTTP testing facilities including a mock server
48
philiprehberger-mock-server
experimentalv0.2.0
Lightweight, per-test HTTP mock server for testing API integrations
Core Metrics
| whyhttp | httptest | philiprehberger-mock-server | |
|---|---|---|---|
| Health Score | 46 | 56 | 48 |
| Total Downloads | 547 | 9.8M | 66 |
| 30d Downloads | 0 | 344.6K | 0 |
| Dependents | 0 | 1.8K | 0 |
| Releases | 2 | 45 | 5 |
| Last Updated | 41d ago | 140d ago | 28d ago |
| Age | 1m | 6y 5m | 2m |
Health Breakdown
whyhttp
Maintenance
11
Quality
16
Community
6
Popularity
3
Documentation
10
httptest
Maintenance
12
Quality
12
Community
12
Popularity
8
Documentation
12
philiprehberger-mock-server
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
15
Technical Details
| whyhttp | httptest | philiprehberger-mock-server | |
|---|---|---|---|
| Version | 1.0.0 | 0.16.4 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 22 | 2 |
| Crate Size | 29KB | 33KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •httptest leads with a health score of 56/100, but none of the options score above 80.
- •httptest is depended on by 1.8K crates — strongest ecosystem trust.
- •httptest, philiprehberger-mock-server are pre-1.0 — API may change.