Cargo Features
[dependencies]
namada_vm = { version = "0.47.2", default-features = false, features = ["wasm-runtime", "testing"] }
- default = wasm-runtime
-
The
wasm-runtime
feature is set by default whenevernamada_vm
is added without
somewhere in the dependency tree.default-features = false - wasm-runtime default = parity-wasm, rayon, wasm-instrument, wasmer, wasmer-cache, wasmer-compiler-singlepass, wasmer-vm
-
Affects
host_env::TxCtx.vp_wasm_cache
,host_env::TxCtx.tx_wasm_cache
,host_env::VpCtx.vp_wasm_cache
,namada_vm::wasm
… - testing = tempfile
-
Enables testing of namada_account and namada_core
namada_core:
for tests and test utilities
Affects
host_env::testing
,memory::testing
…
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.