[package] name = "sc-executor" version = "0.32.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage = "https://substrate.io" repository.workspace = true description = "A crate that provides means of executing/dispatching calls into the runtime." documentation = "https://docs.rs/sc-executor" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] parking_lot = "0.12.1" schnellru = "0.2.1" tracing = "0.1.29" codec = { package = "parity-scale-codec", version = "3.6.1" } sc-executor-common = { path = "common" } sc-executor-polkavm = { path = "polkavm" } sc-executor-wasmtime = { path = "wasmtime" } sp-api = { path = "../../primitives/api" } sp-core = { path = "../../primitives/core" } sp-externalities = { path = "../../primitives/externalities" } sp-io = { path = "../../primitives/io" } sp-panic-handler = { path = "../../primitives/panic-handler" } sp-runtime-interface = { path = "../../primitives/runtime-interface" } sp-trie = { path = "../../primitives/trie" } sp-version = { path = "../../primitives/version" } sp-wasm-interface = { path = "../../primitives/wasm-interface" } [dev-dependencies] array-bytes = "6.1" assert_matches = "1.3.0" wat = "1.0" sc-runtime-test = { path = "runtime-test" } substrate-test-runtime = { path = "../../test-utils/runtime" } sp-crypto-hashing = { path = "../../primitives/crypto/hashing" } sp-state-machine = { path = "../../primitives/state-machine" } sp-runtime = { path = "../../primitives/runtime" } sp-maybe-compressed-blob = { path = "../../primitives/maybe-compressed-blob" } sc-tracing = { path = "../tracing" } sp-tracing = { path = "../../primitives/tracing" } tracing-subscriber = "0.2.19" paste = "1.0" regex = "1.6.0" criterion = "0.4.0" env_logger = "0.9" num_cpus = "1.13.1" tempfile = "3.3.0" [[bench]] name = "bench" harness = false [features] default = ["std"] # This crate does not have `no_std` support, we just require this for tests std = [ "sc-runtime-test/std", "sp-api/std", "sp-core/std", "sp-externalities/std", "sp-io/std", "sp-runtime-interface/std", "sp-runtime/std", "sp-state-machine/std", "sp-tracing/std", "sp-trie/std", "sp-version/std", "sp-wasm-interface/std", "substrate-test-runtime/std", ] wasm-extern-trace = []