Decision Workspace
tokio-js-set-interval vs tokio_interval vs dev-async
Side-by-side comparison of Rust crates
49
tokio-js-set-interval
growingv1.3.0
Allows you to use `setInterval(callback, ms)` and `setTimeout(callback, ms)` as in Javascript inside a `tokio` runtime. The library provides the macros `set_interval!(callback, ms)` and `set_timeout!(callback, ms)`.
42
tokio_interval
growingv0.1.4
基于Tokio实现了 setInterval(callback, ms) 和 setTimeout(callback, ms) 类似于Javascript的API.
61
dev-async
experimentalv0.9.5
Async runtime verification for Rust: timeouts, deadlock detection, task tracking, hung-shutdown probes. The async failure modes that synchronous tests miss. Part of the dev-* verification collection.
Core Metrics
| tokio-js-set-interval | tokio_interval | dev-async | |
|---|---|---|---|
| Health Score | 49 | 42 | 61 |
| Total Downloads | 30.0K | 6.5K | 212 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 12 |
| Releases | 8 | 5 | 7 |
| Last Updated | 1202d ago | 1326d ago | 1d ago |
| Age | 5y 4m | 3y 7m | 5m |
Health Breakdown
tokio-js-set-interval
Maintenance
4
Quality
20
Community
5
Popularity
5
Documentation
15
tokio_interval
Maintenance
10
Quality
9
Community
5
Popularity
5
Documentation
13
dev-async
Maintenance
19
Quality
15
Community
9
Popularity
3
Documentation
15
Technical Details
| tokio-js-set-interval | tokio_interval | dev-async | |
|---|---|---|---|
| Version | 1.3.0 | 0.1.4 | 0.9.5 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 2 | 3 | 4 |
| Crate Size | 13KB | 6KB | 33KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 60.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.66 | — | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dev-async leads with a health score of 61/100, but none of the options score above 80.
- •tokio-js-set-interval has the most downloads (30.0K), suggesting wider adoption.
- •⚠ tokio-js-set-interval, tokio_interval have not been updated in over a year.
- •tokio_interval, dev-async are pre-1.0 — API may change.