Decision Workspace
trojan-rules vs roto-macros vs if-watch
Side-by-side comparison of Rust crates
50
trojan-rules
experimentalv0.9.1
Rule-based routing engine for trojan-rs (Surge/Clash compatible)
67
roto-macros
growingv0.10.0
a statically-typed, compiled, embedded scripting language
66
if-watch
stablev3.2.2
crossplatform asynchronous network watcher
Core Metrics
| trojan-rules | roto-macros | if-watch | |
|---|---|---|---|
| Health Score | 50 | 67 | 66 |
| Total Downloads | 357 | 6.3K | 13.2M |
| 30d Downloads | 121 | 266 | 714.6K |
| Dependents | 13 | 9 | 146 |
| Releases | 13 | 9 | 23 |
| Last Updated | 27d ago | 72d ago | 24d ago |
| Age | 1m | 1y 4m | 5y 4m |
Health Breakdown
trojan-rules
Maintenance
12
Quality
14
Community
8
Popularity
3
Documentation
13
roto-macros
Maintenance
18
Quality
15
Community
14
Popularity
5
Documentation
15
if-watch
Maintenance
16
Quality
19
Community
13
Popularity
8
Documentation
10
Technical Details
| trojan-rules | roto-macros | if-watch | |
|---|---|---|---|
| Version | 0.9.1 | 0.10.0 | 3.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-only | BSD-3-Clause | MIT OR Apache-2.0 |
| Dependencies | 13 | 3 | 21 |
| Crate Size | 37KB | 10KB | 16KB |
| Features | 3 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.89 | — |
| Owners | 1 | 2 (team) | 4 (team) |
Links
Quick Verdict
- •roto-macros leads with a health score of 67/100, but none of the options score above 80.
- •if-watch has the most downloads (13.2M), suggesting wider adoption.
- •if-watch is depended on by 146 crates — strongest ecosystem trust.
- •trojan-rules, roto-macros are pre-1.0 — API may change.