rustio rustio.net

stub_trait vs stubby vs mockall

Side-by-side comparison of Rust crates

Core Metrics

stub_traitstubbymockall
Health Score503963
Total Downloads5.9K13.8K111.2M
30d Downloads2378.6M
Dependents6016.6K
Releases41233
Last Updated1197d ago500d ago125d ago
Age3y 6m2y 9m6y 8m

Health Breakdown

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

Technical Details

stub_traitstubbymockall
Version1.1.00.3.30.14.0
Stable (≥1.0)✓ Yes✗ No✗ No
LicenseMITMIT OR Apache-2.0MIT OR Apache-2.0
Dependencies3116
Crate Size45KB8KB26KB
Features011
Yanked %0.0%75.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.
  • ⚠ stub_trait, stubby have not been updated in over a year.
  • stubby, mockall are pre-1.0 — API may change.