rustio rustio.net

stubby vs stub_trait vs mockall

Side-by-side comparison of Rust crates

Core Metrics

stubbystub_traitmockall
Health Score395063
Total Downloads13.8K5.9K111.2M
30d Downloads7228.3M
Dependents0616.6K
Releases12433
Last Updated500d ago1197d ago125d ago
Age2y 9m3y 6m6y 8m

Health Breakdown

stubby
Maintenance
7
Quality
10
Community
5
Popularity
5
Documentation
12
stub_trait
Maintenance
5
Quality
20
Community
7
Popularity
5
Documentation
13
mockall
Maintenance
13
Quality
13
Community
14
Popularity
8
Documentation
15

Technical Details

stubbystub_traitmockall
Version0.3.31.1.00.14.0
Stable (≥1.0)✗ No✓ Yes✗ No
LicenseMIT OR Apache-2.0MITMIT OR Apache-2.0
Dependencies1316
Crate Size8KB45KB26KB
Features101
Yanked %75.0%0.0%0.0%
Edition202120212021
MSRV1.581.77.0
Owners111

Quick Verdict

  • mockall leads with a health score of 63/100, but none of the options score above 80.
  • mockall is depended on by 16.6K crates — strongest ecosystem trust.
  • ⚠ stubby, stub_trait have not been updated in over a year.
  • stubby, mockall are pre-1.0 — API may change.