[package]
name = "sc-executor-wasmtime"
version = "0.19.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
cfg-if = "1.0"
libc = "0.2.121"
log = "0.4.17"
wasmtime = { version = "5.0.0", default-features = false, features = [
"cache",
"cranelift",
"jitdump",
"parallel-compilation",
"pooling-allocator"
], git = "https://github.com/paritytech/wasmtime.git", branch = "v5.0.0_lto_fix" }
anyhow = "1.0.68"
sc-allocator = { version = "13.0.0" }
sc-executor-common = { version = "0.19.0" }
sp-runtime-interface = { version = "14.0.0" }
sp-wasm-interface = { version = "11.0.0", features = ["wasmtime"] }
rustix = { version = "0.36.0", default-features = false, features = ["std", "mm", "fs", "param", "use-libc"] }
once_cell = "1.12.0"
[dev-dependencies]
wat = "1.0"
sc-runtime-test = { path = "../runtime-test" }
sp-io = { path = "../../../primitives/io" }
tempfile = "3.3.0"
paste = "1.0"
codec = { package = "parity-scale-codec", version = "3.2.2" }
cargo_metadata = "0.15.2"