Cargo Features

[dependencies]
xkcp-rs = { version = "0.0.3", default-features = false, features = ["std", "avr8", "force-compact", "force-generic", "generic-lc"] }
default = std

The std feature is set by default whenever xkcp-rs is added without default-features = false somewhere in the dependency tree.

std default
avr8

xkcp-sys forwarded features Forces building for the AVR8 (8-bit AVR) XKCP target.

Enables avr8 of xkcp-sys

force-compact

Forces building for the compact XKCP target. WARNING: this is generally much slower than anything else.

Enables force-compact of xkcp-sys

force-generic

Forces building for the generic32 or generic64 XKCP target. Falls back to compact if not building for a 32 or 64 bit architecture.

Enables force-generic of xkcp-sys

generic-lc

Uses the generic{32,64}lc XKCP targets instead of generic{32,64}.

Same as generic64 but featuring the lane complementing technique for platforms without a "and not" instruction

Enables generic-lc of xkcp-sys