Cargo Features

[dependencies]
oci-registry-client = { version = "0.2.1", default-features = false, features = ["sha256"] }
default = sha256

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

sha256 default = sha2

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 sha256

Enables sha2 ^0.8