Cargo Features

[dependencies]
sha-1 = { version = "0.10.1", default-features = false, features = ["std", "oid", "asm", "compress", "force-soft"] }
default = std

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

std default

Enables std of digest

oid

Enable OID support. WARNING: Bumps MSRV to 1.57

Enables oid of digest

asm = sha1-asm

WARNING: this feature SHOULD NOT be enabled by library crates

compress

Expose compress function

force-soft

Force software implementation

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.

sha1-asm arm64 x86 x86_64 asm?