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 wheneversha2ni
is added without
somewhere in the dependency tree.default-features = false - 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?