gsc-executor-wasmtime 0.35.0

Defines a `WasmRuntime` that uses the Wasmtime JIT to execute.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "gsc-executor-wasmtime"
version = "0.35.0"
authors = ["Gear Technologies"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
homepage = "https://gear-tech.io"
documentation = "https://docs.rs/gsc-executor-wasmtime"
readme = "README.md"
keywords = [
    "substrate",
    "runtime",
    "executor",
    "wasmtime",
    "jit",
]
categories = ["wasm"]
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/gear-tech/gear"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "gsc_executor_wasmtime"
path = "src/lib.rs"

[dependencies.log]
version = "0.4.22"
default-features = true

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.rustix]
version = "1.0.8"
features = [
    "fs",
    "mm",
    "param",
    "std",
    "use-libc",
]
default-features = false

[dependencies.sc-executor-common]
version = "=0.35.0"
package = "gsc-executor-common"

[dependencies.sp-allocator]
version = "=29.0.0"
default-features = true
package = "gsp-allocator"

[dependencies.sp-runtime-interface]
version = "18.0.0"
default-features = true
package = "gp-runtime-interface"

[dependencies.sp-wasm-interface]
version = "=21.0.1"
features = ["wasmtime"]
default-features = true
package = "gsp-wasm-interface"

[dependencies.wasmtime]
version = "44.0.1"
features = [
    "anyhow",
    "winch",
    "cache",
    "cranelift",
    "parallel-compilation",
    "pooling-allocator",
]
default-features = false

[dev-dependencies.cargo_metadata]
version = "0.20.0"

[dev-dependencies.codec]
version = "3.7.5"
default-features = true
package = "parity-scale-codec"

[dev-dependencies.paste]
version = "1.0"

[dev-dependencies.sp-io]
version = "38.0.0"
default-features = true

[dev-dependencies.tempfile]
version = "3.19"

[dev-dependencies.wat]
version = "1.0.71"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(fuzz)",
    "cfg(loom)",
    "cfg(substrate_runtime)",
    'cfg(build_type, values("debug"))',
]