Decision Workspace
tokio-test-lite vs tokio-fsm-macros vs ws-mock
Side-by-side comparison of Rust crates
47
tokio-test-lite
experimentalv0.2.0
Lightweight #[test] attribute for async tokio tests without syn
58
tokio-fsm-macros
experimentalv0.4.1
Proc macro for generating Tokio async finite state machines
53
ws-mock
growingv0.5.0
A websocket mock server for testing, inspired by Wiremock.
Core Metrics
| tokio-test-lite | tokio-fsm-macros | ws-mock | |
|---|---|---|---|
| Health Score | 47 | 58 | 53 |
| Total Downloads | 6.0K | 275 | 65.6K |
| 30d Downloads | 4.3K | 0 | 8.5K |
| Dependents | 9 | 10 | 53 |
| Releases | 2 | 10 | 11 |
| Last Updated | 201d ago | 15d ago | 97d ago |
| Age | 6m | 5m | 2y 4m |
Health Breakdown
tokio-test-lite
Maintenance
9
Quality
14
Community
9
Popularity
5
Documentation
10
tokio-fsm-macros
Maintenance
18
Quality
13
Community
9
Popularity
3
Documentation
15
ws-mock
Maintenance
16
Quality
11
Community
10
Popularity
6
Documentation
10
Technical Details
| tokio-test-lite | tokio-fsm-macros | ws-mock | |
|---|---|---|---|
| Version | 0.2.0 | 0.4.1 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT | MIT |
| Dependencies | 3 | 6 | 5 |
| Crate Size | 8KB | 23KB | 19KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 9.1% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.92 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokio-fsm-macros leads with a health score of 58/100, but none of the options score above 80.
- •ws-mock has the most downloads (65.6K), suggesting wider adoption.