Decision Workspace
subhook-rs vs ezhook vs detour
Side-by-side comparison of Rust crates
47
subhook-rs
experimentalv0.3.4
Rust hooking library for x86 (32 and 64 bit) and RISC-V (32 and 64 bit). Based on subhook from Zeex. Linux and Windows were tested, MacOS should work as well.
40
ezhook
growingv0.2.2
Function hooking for x86
62
detour
growingv0.10.0
A cross-platform function detouring (inline hooking) library for x86, x86-64 and AArch64
Core Metrics
| subhook-rs | ezhook | detour | |
|---|---|---|---|
| Health Score | 47 | 40 | 62 |
| Total Downloads | 122 | 6.7K | 113.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 62 |
| Releases | 7 | 4 | 14 |
| Last Updated | 148d ago | 2265d ago | 9d ago |
| Age | 5m | 6y 3m | 9y 3m |
Health Breakdown
subhook-rs
Maintenance
15
Quality
17
Community
3
Popularity
2
Documentation
10
ezhook
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
9
detour
Maintenance
15
Quality
15
Community
11
Popularity
6
Documentation
15
Technical Details
| subhook-rs | ezhook | detour | |
|---|---|---|---|
| Version | 0.3.4 | 0.2.2 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | MIT | BSD-2-Clause |
| Dependencies | 3 | 3 | 9 |
| Crate Size | 20KB | 6KB | 76KB |
| Features | 7 | 1 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •detour leads with a health score of 62/100, but none of the options score above 80.
- •⚠ ezhook has not been updated in over a year.