Cargo Features

[dependencies]
sha2ni = { version = "0.8.5", default-features = false, features = ["std", "asm", "asm-aarch64"] }
default = std

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

std default

Enables std of digest ^0.8

asm asm-aarch64? = sha2-asm
asm-aarch64 = asm, libc

TODO: Remove this feature once is_aarch64_feature_detected!() is stabilised.
Only used on AArch64 Linux systems.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

sha2-asm asm?

Enables sha2-asm ^0.5

libc asm-aarch64?