Decision Workspace
galvanic-mock vs galvanic-mock-lib vs rspec
Side-by-side comparison of Rust crates
40
galvanic-mock
growingv0.1.3
A behaviour-driven mocking framework for generic traits. Create mocks for (multiple) traits in a behaviour-driven development mocking framework. Define the behaviour of mocks and expected method calls using argument patterns. Supports mocking of generic traits and generic methods. Requires: nightly
37
galvanic-mock-lib
growingv0.2.0
The support library for galvanic-mock.
52
rspec
growingv1.0.0
Write Rspec-like tests with stable rust
Core Metrics
| galvanic-mock | galvanic-mock-lib | rspec | |
|---|---|---|---|
| Health Score | 40 | 37 | 52 |
| Total Downloads | 12.8K | 2.0K | 335.5K |
| 30d Downloads | 50 | 4 | 1.1K |
| Dependents | 7 | 0 | 485 |
| Releases | 4 | 1 | 6 |
| Last Updated | 3012d ago | 3010d ago | 1875d ago |
| Age | 8y 7m | 8y 3m | 9y 8m |
Health Breakdown
galvanic-mock
Maintenance
2
Quality
15
Community
7
Popularity
5
Documentation
11
galvanic-mock-lib
Maintenance
1
Quality
16
Community
5
Popularity
4
Documentation
11
rspec
Maintenance
3
Quality
21
Community
13
Popularity
7
Documentation
8
Technical Details
| galvanic-mock | galvanic-mock-lib | rspec | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MPL-2.0 |
| Dependencies | 6 | 1 | 7 |
| Crate Size | 28KB | 8KB | 32KB |
| Features | 1 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rspec leads with a health score of 52/100, but none of the options score above 80.
- •rspec is depended on by 485 crates — strongest ecosystem trust.
- •⚠ galvanic-mock, galvanic-mock-lib, rspec have not been updated in over a year.
- •galvanic-mock, galvanic-mock-lib are pre-1.0 — API may change.