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.
60
dev-async
experimentalv0.9.4
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 | 60 |
| Total Downloads | 28.2K | 6.5K | 96 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 11 |
| Releases | 8 | 5 | 6 |
| Last Updated | 1065d ago | 1189d ago | 13d ago |
| Age | 5y | 3y 3m | 18d |
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
18
Quality
16
Community
9
Popularity
2
Documentation
15
Technical Details
| tokio-js-set-interval | tokio_interval | dev-async | |
|---|---|---|---|
| Version | 1.3.0 | 0.1.4 | 0.9.4 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 2 | 3 | 3 |
| Crate Size | 13KB | 6KB | 28KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 60.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.66 | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dev-async leads with a health score of 60/100, but none of the options score above 80.
- •tokio-js-set-interval has the most downloads (28.2K), 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.