Cargo Features

[dependencies]
sha2 = { version = "0.11.0-pre.4", default-features = false, features = ["std", "oid", "zeroize", "force-soft"] }
default = oid, std

These default features are set whenever sha2 is added without default-features = false somewhere in the dependency tree.

std default

Enables std of digest

oid default

Enable OID support

Enables oid of digest

zeroize

Enables zeroize of digest

force-soft

Force software implementation