[package] name = "near-runtime" version = "4.0.0-pre.1" authors = ["Near Inc "] edition = "2018" license = "Apache-2.0" repository = "https://github.com/nearprotocol/nearcore" homepage = "https://github.com/nearprotocol/nearcore" description = """ This internal crate provides the runtime needed to process transactions and execute Wasm smart contracts. """ [dependencies] byteorder = "1.2" serde = { version = "1", features = ["derive"] } serde_json = "1.0" log = "0.4" rand = "0.7" lazy_static = "1.4" num-rational = "0.3" num-bigint = "0.3" num-traits = "0.2.11" hex = "0.4.2" ethereum-types = "0.11.0" borsh = "0.8.1" near-crypto = { path = "../../core/crypto", version = "0.1.0" } near-primitives = { path = "../../core/primitives", version = "0.1.0-pre.1"} near-store = { path = "../../core/store", version = "0.1.0-pre.1" } near-metrics = { path = "../../core/metrics", version = "0.1.0" } near-runtime-utils = { path = "../../runtime/near-runtime-utils" , version = "4.0.0-pre.1" } near-vm-logic = { path = "../../runtime/near-vm-logic", version = "4.0.0-pre.1" } near-vm-runner = { path = "../../runtime/near-vm-runner", version = "4.0.0-pre.1" } near-vm-errors = { path = "../../runtime/near-vm-errors", version = "4.0.0-pre.1" } # near-evm-runner = { path = "../../runtime/near-evm-runner", optional = true } [features] default = [] dump_errors_schema = ["near-vm-errors/dump_errors_schema"] protocol_feature_evm = [] # "near-evm-runner/protocol_feature_evm", "near-primitives/protocol_feature_evm", "near-vm-runner/protocol_feature_evm"] wasmer1_vm = ["near-vm-runner/wasmer1_vm"] wasmer0_vm = ["near-vm-runner/wasmer0_vm"] wasmtime_vm = ["near-vm-runner/wasmtime_vm"] wasmer1_default = ["wasmer1_vm", "near-vm-logic/wasmer1_default"] wasmer0_default = ["wasmer0_vm", "near-vm-logic/wasmer0_default"] wasmtime_default = ["wasmtime_vm", "near-vm-logic/wasmtime_default"] no_cpu_compatibility_checks = [ "near-vm-runner/no_cpu_compatibility_checks"] no_cache = ["near-vm-runner/no_cache", "near-store/no_cache"] protocol_feature_alt_bn128 = [ "near-primitives/protocol_feature_alt_bn128", "near-vm-logic/protocol_feature_alt_bn128", "near-vm-runner/protocol_feature_alt_bn128", "near-vm-errors/protocol_feature_alt_bn128", ] [dev-dependencies] tempfile = "3" serde_json = "^1.0.40" base64 = "0.11" indicatif = {version = "0.13", features = ["with_rayon"]} rayon = "^1.1" assert_matches = "1.3" testlib = { path = "../../test-utils/testlib" } near-chain-configs = { path = "../../core/chain-configs" } [package.metadata.workspaces] independent = true