Decision Workspace
httptest vs whyhttp vs fnmock-derive
Side-by-side comparison of Rust crates
53
httptest
growingv0.16.4
HTTP testing facilities including a mock server
53
whyhttp
experimentalv1.0.1
HTTP mock server for use in tests. Starts a real server, expectations configured via fluent builder API, verified automatically on drop.
51
fnmock-derive
experimentalv0.3.0
Procedural macro implementation for the fnmock mocking framework.
Core Metrics
| httptest | whyhttp | fnmock-derive | |
|---|---|---|---|
| Health Score | 53 | 53 | 51 |
| Total Downloads | 11.6M | 5.0K | 191 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2.1K | 0 | 4 |
| Releases | 45 | 3 | 4 |
| Last Updated | 277d ago | 77d ago | 15d ago |
| Age | 6y 10m | 5m | 2m |
Health Breakdown
httptest
Maintenance
9
Quality
12
Community
12
Popularity
8
Documentation
12
whyhttp
Maintenance
15
Quality
16
Community
6
Popularity
4
Documentation
12
fnmock-derive
Maintenance
12
Quality
14
Community
7
Popularity
3
Documentation
15
Technical Details
| httptest | whyhttp | fnmock-derive | |
|---|---|---|---|
| Version | 0.16.4 | 1.0.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 22 | 4 | 3 |
| Crate Size | 33KB | 29KB | 61KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.88 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •httptest leads with a health score of 53/100, but none of the options score above 80.
- •httptest is depended on by 2.1K crates — strongest ecosystem trust.
- •httptest, fnmock-derive are pre-1.0 — API may change.