Cargo Features
[dependencies]
namada_sdk = { version = "0.47.2", default-features = false, features = ["std", "mainnet", "multicore", "async-send", "namada-eth-bridge", "benches", "wasm-runtime", "masp", "testing", "download-params", "migrations", "arbitrary"] }
- default = std
-
The
std
feature is set by default whenevernamada_sdk
is added without
somewhere in the dependency tree.default-features = false - std default = download-params, fd-lock
-
Enables std of namada_token and namada_wallet
- mainnet
-
Enables mainnet of namada_core, namada_events, and namada_token
- multicore
-
Enables multicore of masp_proofs and namada_token
- async-send
-
Enables async-send of namada_io
- namada-eth-bridge
-
Enables namada-eth-bridge of namada_ethereum_bridge
- benches
-
Enables benches and testing of namada_core, benches of namada_state
- wasm-runtime
-
Enables wasm-runtime of namada_vm
Affects
namada_sdk::validation
… - masp
-
Enables namada_token, control_flow and task_env of namada_core
- testing = jubjub, proptest
-
for tests and test utilities
Enables test-dependencies of masp_primitives, testing of namada_account, namada_core, namada_ethereum_bridge, namada_governance, namada_ibc, namada_parameters, namada_proof_of_stake, namada_storage, namada_token, and namada_tx
- download-params std
-
Enables download-params of namada_token
- migrations = linkme, namada_migrations
-
Enables migrations of namada_account, namada_core, namada_ethereum_bridge, namada_events, namada_gas, namada_governance, namada_proof_of_stake, namada_state, namada_storage, namada_token, namada_tx, and namada_vote_ext
Affects
namada_sdk::migrations
… - arbitrary
-
Enables arbitrary, arbitrary of namada_account, namada_core, namada_governance, namada_ibc, and namada_token
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.
- namada_migrations migrations?
- fd-lock std
-
Enables fd-lock ^3.0.12
- jubjub testing?
-
Enables nam-jubjub
- linkme migrations?
- proptest testing?