Cargo Features

xkcp-sys has no features set by default.

[dependencies]
xkcp-sys = { version = "0.0.3", features = ["avr8", "force-compact", "force-generic", "generic-lc"] }
avr8

Forces building for the AVR8 (8-bit AVR) XKCP target.

force-compact

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

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.

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