Decision Workspace
cmov vs ctutils vs subtle
Side-by-side comparison of Rust crates
Conditional move CPU intrinsics which are guaranteed on major platforms (ARM32/ARM64, x86/x86_64, RISC-V) to execute in constant-time and not be rewritten as branches by the compiler. Provides wrappers for the CMOV family of instructions on x86/x86_64 and CSEL on AArch64, along with a portable "best-effort" pure Rust fallback implementation.
Constant-time utility library with selection and equality testing support targeting cryptographic applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate.
Pure-Rust traits and utilities for constant-time cryptographic implementations.
Core Metrics
| cmov | ctutils | subtle | |
|---|---|---|---|
| Health Score | 60 | 66 | 63 |
| Total Downloads | 98.0M | 94.3M | 756.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 75 | 211 | 28.9K |
| Releases | 21 | 23 | 29 |
| Last Updated | 134d ago | 4d ago | 837d ago |
| Age | 4y 8m | 9m | 9y 4m |
Health Breakdown
Technical Details
| cmov | ctutils | subtle | |
|---|---|---|---|
| Version | 0.5.4 | 0.4.3 | 2.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | BSD-3-Clause |
| Dependencies | 1 | 3 | 1 |
| Crate Size | 27KB | 31KB | 15KB |
| Features | 0 | 2 | 6 |
| Yanked % | 57.1% | 30.4% | 58.6% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85 | 1.87 | — |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •ctutils leads with a health score of 66/100, but none of the options score above 80.
- •subtle has the most downloads (756.8M), suggesting wider adoption.
- •subtle is depended on by 28.9K crates — strongest ecosystem trust.
- •⚠ subtle has not been updated in over a year.
- •cmov, ctutils are pre-1.0 — API may change.