Cargo Features
[dependencies]
near-vm-runner = { version = "0.21.2", default-features = false, features = ["nightly_protocol", "wasmer0_vm", "wasmtime_vm", "wasmer2_vm", "near_vm", "no_cache", "protocol_feature_fix_contract_loading_cost", "nightly", "io_trace", "costs_counting"] }
- nightly_protocol nightly?
-
Enables nightly_protocol of near-parameters and near-primitives-core
- default = near_vm, wasmer0_vm, wasmer2_vm, wasmtime_vm
-
all vms enabled for now
- wasmer0_vm default = wasmer-runtime, wasmer-runtime-core
- wasmtime_vm default = anyhow, wasmtime
- wasmer2_vm default = wasmer-compiler, wasmer-compiler-singlepass, wasmer-engine, wasmer-engine-universal, wasmer-types, wasmer-vm
- near_vm default = near-vm-compiler, near-vm-compiler-singlepass, near-vm-engine, near-vm-types, near-vm-vm
- no_cpu_compatibility_checks no_cache
- protocol_feature_fix_contract_loading_cost nightly?
-
Enables protocol_feature…loading_cost of near-primitives-core
- nightly = nightly_protocol, protocol_feature…loading_cost
-
Enables nightly of near-parameters and near-primitives-core
- sandbox io_trace
- costs_counting
-
Use this feature to enable counting of fees and costs applied.
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.
- anyhow wasmtime_vm
- wasmtime wasmtime_vm
-
Enables wasmtime ^14.0.4
- near-vm-compiler x86_64 near_vm
- near-vm-compiler-singlepass x86_64 near_vm
- near-vm-engine x86_64 near_vm
- near-vm-types x86_64 near_vm
- near-vm-vm x86_64 near_vm
- wasmer-compiler x86_64 wasmer2_vm
-
Enables wasmer-compiler-near
- wasmer-compiler-singlepass x86_64 wasmer2_vm
-
Enables wasmer-compiler-singlepass-near
- wasmer-engine x86_64 wasmer2_vm
-
Enables wasmer-engine-near
- wasmer-engine-universal x86_64 wasmer2_vm
-
Enables wasmer-engine-universal-near
- wasmer-runtime x86_64 wasmer0_vm
-
Enables wasmer-runtime-near
- wasmer-runtime-core x86_64 wasmer0_vm
-
Enables wasmer-runtime-core-near
- wasmer-types x86_64 wasmer2_vm
-
Enables wasmer-types-near
- wasmer-vm x86_64 wasmer2_vm
-
Enables wasmer-vm-near