Cargo Features

[dependencies]
sha-crypt = { version = "0.6.0-rc.2", default-features = false, features = ["getrandom", "rand_core", "password-hash"] }
default = password-hash

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

getrandom = password-hash

Enables getrandom of password-hash

rand_core

Enables rand_core of password-hash

password-hash default getrandom? rand_core?

Enables mcf, password-hash, and subtle

mcf:

optional dependencies