Cargo Features

[dependencies]
easy-hash = { version = "0.1.0", default-features = false, features = ["SHA2"] }
default = SHA2

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

SHA2 default = sha2

Affects easy-hash::Sha256

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 SHA2