Decision Workspace
tokio_interval vs tokio-js-set-interval vs zila
Side-by-side comparison of Rust crates
42
tokio_interval
growingv0.1.4
基于Tokio实现了 setInterval(callback, ms) 和 setTimeout(callback, ms) 类似于Javascript的API.
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)`.
49
zila
growingv0.1.8
A library for calling functions on certain events
Core Metrics
| tokio_interval | tokio-js-set-interval | zila | |
|---|---|---|---|
| Health Score | 42 | 49 | 49 |
| Total Downloads | 6.4K | 27.2K | 8.1K |
| 30d Downloads | 19 | 561 | 9 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 8 | 7 |
| Last Updated | 1130d ago | 1006d ago | 1053d ago |
| Age | 3y 1m | 4y 10m | 2y 10m |
Health Breakdown
tokio_interval
Maintenance
10
Quality
9
Community
5
Popularity
5
Documentation
13
tokio-js-set-interval
Maintenance
4
Quality
20
Community
5
Popularity
5
Documentation
15
zila
Maintenance
10
Quality
18
Community
3
Popularity
5
Documentation
13
Technical Details
| tokio_interval | tokio-js-set-interval | zila | |
|---|---|---|---|
| Version | 0.1.4 | 1.3.0 | 0.1.8 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 2 | 2 |
| Crate Size | 6KB | 13KB | 18KB |
| Features | 0 | 0 | 8 |
| Yanked % | 60.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.66 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokio-js-set-interval leads with a health score of 49/100, but none of the options score above 80.
- •⚠ tokio_interval, tokio-js-set-interval, zila have not been updated in over a year.
- •tokio_interval, zila are pre-1.0 — API may change.