rustio rustio.net

stubby vs stub_trait vs mockall

Side-by-side comparison of Rust crates

Core Metrics

stubbystub_traitmockall
Health Score384964
Total Downloads13.9K6.0K176.9M
30d Downloads000
Dependents0624.4K
Releases12434
Last Updated696d ago1393d ago103d ago
Age3y 3m4y7y 3m

Health Breakdown

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

Technical Details

stubbystub_traitmockall
Version0.3.31.1.00.15.0
Stable (≥1.0)✗ No✓ Yes✗ No
LicenseMIT OR Apache-2.0MITMIT OR Apache-2.0
Dependencies1317
Crate Size8KB45KB26KB
Features101
Yanked %75.0%0.0%0.0%
Edition202120212021
MSRV1.58—1.77.0
Owners111

Quick Verdict

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