Cargo Features
near-vm-runner has no features set by default.
[dependencies]
near-vm-runner = { version = "0.27.0", features = ["nightly_protocol", "wasmer0_vm", "wasmtime_vm", "wasmer2_vm", "near_vm", "prepare", "no_cache", "protocol_feature_fix_contract_loading_cost", "metrics", "nightly", "sandbox", "io_trace", "test_features", "protocol_schema", "costs_counting"] }
- nightly_protocol nightly?
-
Enables nightly_protocol of near-o11y, near-parameters, and near-primitives-core
- wasmer0_vm = prepare, wasmer-runtime, wasmer-runtime-core
- wasmtime_vm = anyhow, prepare, wasmtime
- wasmer2_vm = memoffset, prepare, wasmer-compiler, wasmer-compiler-singlepass, wasmer-engine, wasmer-engine-universal, wasmer-types, wasmer-vm
- near_vm = memoffset, near-vm-compiler, near-vm-compiler-singlepass, near-vm-engine, near-vm-types, near-vm-vm, prepare
- prepare near_vm? wasmer0_vm? wasmer2_vm? wasmtime_vm? = finite-wasm, metrics, parity-wasm, parity-wasm_41, prefix-sum-vec, pwasm-utils_12, wasm-encoder, wasmparser
-
Affects
near-vm-runner::prepare
… - no_cpu_compatibility_checks no_cache
- protocol_feature_fix_contract_loading_cost nightly?
-
Enables protocol_feature…loading_cost of near-primitives-core
- metrics prepare? = near-o11y, prometheus
- nightly = nightly_protocol, protocol_feature…loading_cost
-
Enables nightly of near-o11y, near-parameters, and near-primitives-core
- sandbox
- io_trace = base64
- test_features
- protocol_schema
-
Enables protocol_schema of near-crypto, near-parameters, near-primitives-core, and near-schema-checker-lib
- 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?
- base64 io_trace?
-
Enables base64 ^0.21
- finite-wasm prepare?
- memoffset near_vm? wasmer2_vm?
-
Enables memoffset ^0.8
- parity-wasm prepare?
-
Enables parity-wasm ^0.42
- prefix-sum-vec prepare?
- prometheus metrics?
- wasm-encoder prepare?
-
Enables wasm-encoder ^0.27.0
- wasmparser prepare?
-
Enables wasmparser ^0.78
- wasmtime wasmtime_vm?
-
Enables wasmtime ^14.0.4
- near-o11y metrics? nightly? nightly_protocol? sandbox?
- pwasm-utils_12 prepare?
-
Enables pwasm-utils ^0.12
Old versions of pwasm-utils we need to preserve backwards compatibility under old protocol versions.
- parity-wasm_41 prepare?
-
Enables parity-wasm ^0.41
- 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