Decision Workspace
ctutils vs cmov vs serdect
Side-by-side comparison of Rust crates
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.
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 serde serializer/deserializer helpers for data that potentially contains secrets (e.g. cryptographic keys)
Core Metrics
| ctutils | cmov | serdect | |
|---|---|---|---|
| Health Score | 60 | 62 | 64 |
| Total Downloads | 1.1M | 2.5M | 21.0M |
| 30d Downloads | 576.9K | 860.8K | 2.8M |
| Dependents | 52 | 54 | 779 |
| Releases | 20 | 19 | 8 |
| Last Updated | 67d ago | 66d ago | 83d ago |
| Age | 3m | 4y 1m | 3y 12m |
Health Breakdown
Technical Details
| ctutils | cmov | serdect | |
|---|---|---|---|
| Version | 0.4.0 | 0.5.2 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 1 | 12 |
| Crate Size | 29KB | 24KB | 19KB |
| Features | 2 | 0 | 3 |
| Yanked % | 35.0% | 63.2% | 12.5% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •serdect leads with a health score of 64/100, but none of the options score above 80.
- •serdect is depended on by 779 crates — strongest ecosystem trust.