Decision Workspace
galvanic-assert vs kernal vs shoulds
Side-by-side comparison of Rust crates
44
galvanic-assert
growingv0.8.7
A comprehensive set of matcher-based assertions and expectations for easier testing. Supports checking properties of numbers, objects, enum variants, collections, panics, and more. Stuctural matching enables you to integrate matchers into struct decompositions for less code repetition. It's easy to write your own matchers for assertions too. This crate will be part of the galvanic test framework (in development). You can also use the assertions in another test framework of your choice. Works on: stable, beta, and nightly
53
kernal
growingv0.5.1
A fluent assertion framework for Rust.
44
shoulds
growingv0.3.0
An intuitive, fluent assertion library for writing expressive test expectations in Rust.
Core Metrics
| galvanic-assert | kernal | shoulds | |
|---|---|---|---|
| Health Score | 44 | 53 | 44 |
| Total Downloads | 155.6K | 5.6K | 9.6K |
| 30d Downloads | 1.5K | 43 | 12 |
| Dependents | 76 | 1 | 0 |
| Releases | 13 | 6 | 9 |
| Last Updated | 2987d ago | 40d ago | 257d ago |
| Age | 9y 1m | 2y 11m | 4y 3m |
Health Breakdown
galvanic-assert
Maintenance
4
Quality
13
Community
10
Popularity
6
Documentation
11
kernal
Maintenance
15
Quality
15
Community
6
Popularity
4
Documentation
13
shoulds
Maintenance
7
Quality
16
Community
6
Popularity
5
Documentation
10
Technical Details
| galvanic-assert | kernal | shoulds | |
|---|---|---|---|
| Version | 0.8.7 | 0.5.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 7 | 0 |
| Crate Size | 20KB | 100KB | 6KB |
| Features | 0 | 1 | 0 |
| Yanked % | 7.7% | 0.0% | 0.0% |
| Edition | — | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •kernal leads with a health score of 53/100, but none of the options score above 80.
- •galvanic-assert has the most downloads (155.6K), suggesting wider adoption.
- •⚠ galvanic-assert has not been updated in over a year.