Decision Workspace
whyhttp vs httptest vs philiprehberger-mock-server
Side-by-side comparison of Rust crates
48
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.
55
httptest
growingv0.16.4
HTTP testing facilities including a mock server
51
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 | 48 | 55 | 51 |
| Total Downloads | 1.2K | 10.3M | 79 |
| 30d Downloads | 0 | 165.4K | 0 |
| Dependents | 0 | 1.9K | 0 |
| Releases | 2 | 45 | 5 |
| Last Updated | 90d ago | 188d ago | 76d ago |
| Age | 3m | 6y 7m | 3m |
Health Breakdown
whyhttp
Maintenance
12
Quality
16
Community
6
Popularity
4
Documentation
10
httptest
Maintenance
11
Quality
12
Community
12
Popularity
8
Documentation
12
philiprehberger-mock-server
Maintenance
14
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 55/100, but none of the options score above 80.
- •httptest is depended on by 1.9K crates — strongest ecosystem trust.
- •httptest, philiprehberger-mock-server are pre-1.0 — API may change.