Cargo Features
[dependencies]
omni-transaction = { version = "0.2.0", default-features = false, features = ["all", "bitcoin", "evm", "near"] }
- default = all
-
The
all
feature is set by default wheneveromni-transaction
is added without
somewhere in the dependency tree.default-features = false - all default = bitcoin, evm, near
- bitcoin all = sha2
-
Affects
omni-transaction::bitcoin
,transaction_builders::BITCOIN
… - evm all
-
Affects
omni-transaction::evm
,transaction_builders::EVM
… - near all
-
Affects
omni-transaction::near
,transaction_builders::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.