$ cmov

v0.5.4

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.

Downloads: 12.7M
Recent: 11.1M
Versions: 21
Updated: May 28, 2026

Patch update: 0.5.3 → 0.5.4

$ DOWNLOADS TREND

4.2M12.7M

$ VERSION HISTORY

v0.5.4May 28, 2026
v0.5.3April 2, 2026

$ LINKS

$ INSTALL

cargo add cmov

Or add to Cargo.toml: cmov = "0.5.4"