Cargo Features

[dependencies]
ex3-crypto = { version = "0.15.20", default-features = false, features = ["secp256k1", "canister", "address", "hash", "verify"] }
default = hash, secp256k1, verify

These default features are set whenever ex3-crypto is added without default-features = false somewhere in the dependency tree.

secp256k1 default address? verify = k256

Affects ex3-crypto::secp256k1

canister = getrandom

Affects ex3-crypto::always_fail

address = hash, ripemd, secp256k1
hash default address? verify = hex, sha2, sha3
verify default = hash, secp256k1

Affects ex3-crypto::verify

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 hash
sha3 hash
hex hash
k256 secp256k1
getrandom canister?
ripemd address?