Cargo Features

[dependencies]
sha256 = { version = "1.5.0", default-features = false, features = ["native_openssl", "async"] }
default = async

The async feature is set by default whenever sha256 is added without default-features = false somewhere in the dependency tree.

native_openssl = openssl

Affects sha256::TrySha256Digest.async_openssl_digest, sha256::async_digest.try_async_openssl_digest

async default = tokio

Affects sha256::TrySha256Digest.async_digest, sha256::async_digest

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.

openssl native_openssl?
tokio async