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 wheneverxkcp-rs
is added without
somewhere in the dependency tree.default-features = false - std default
- avr8
-
xkcp-sys forwarded features 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.Enables force-compact of xkcp-sys
- force-generic
-
Forces building for the
generic32
orgeneric64
XKCP target. Falls back tocompact
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 ofgeneric{32,64}
.Same as
generic64
but featuring the lane complementing technique for platforms without a "and not" instructionEnables generic-lc of xkcp-sys