Cargo Features

p3-sha256 has no features set by default.

[dependencies]
p3-sha256 = { version = "0.2.0", features = ["asm", "force-soft"] }
asm

Enable either x86 or aarch assembly implementation based on target.

Enables asm of sha2

force-soft

Force software implementation (default if "asm" feature is not enabled).

Enables force-soft of sha2