Cargo Features

[dependencies]
castor = { version = "0.5.0", default-features = false, features = ["sha2_256", "sha2_512", "sha3_256", "sha3_512", "blake2b", "blake2s"] }
default = blake2s

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

sha2_256 = sha2

Affects castor::Sha2_256

sha2_512 = sha2

Affects castor::Sha2_512

sha3_256 = sha3

Affects castor::Sha3_256

sha3_512 = sha3

Affects castor::Sha3_512

blake2b = blake2

Affects castor::Blake2b

blake2s default = blake2

Affects castor::Blake2s

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_256? sha2_512?

Enables sha2 ^0.8

sha3 sha3_256? sha3_512?

Enables sha3 ^0.8

blake2 blake2b? blake2s

Enables blake2 ^0.8