Cargo Features

[dependencies]
omni-transaction = { version = "0.1.2", default-features = false, features = ["all", "bitcoin", "evm", "near"] }
default = all

The all feature is set by default whenever omni-transaction is added without default-features = false somewhere in the dependency tree.

all default = bitcoin, evm, near
bitcoin all = sha2

Affects omni-transaction::bitcoin, types::BITCOIN

evm all

Affects omni-transaction::evm, types::EVM

near all

Affects omni-transaction::near, types::NEAR

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 bitcoin?