Cargo Features
near-vm-logic has no features set by default.
[dependencies]
near-vm-logic = { version = "4.0.0-pre.1", features = ["protocol_feature_evm", "protocol_feature_alt_bn128", "wasmer1_default", "costs_counting"] }
- protocol_feature_evm
-
Enables protocol_feature_evm of near-primitives-core ^0.4.0
Affects
gas_counter::EVM_GAS_COUNTER
,gas_counter::reset_evm_gas_counter
… - protocol_feature_alt_bn128 = bn
-
Enables protocol_feature_alt_bn128 of near-primitives-core ^0.4.0 and near-vm-errors
Affects
near-vm-logic::alt_bn128
… - wasmer0_default wasmtime_default wasmer1_default
- costs_counting
-
Use this feature to enable counting of fees and costs applied.
Enables costs_counting of near-primitives-core ^0.4.0
Affects
gas_counter::reset_evm_gas_counter
…
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.
- bn protocol_feature_alt_bn128?
-
Enables zeropool-bn