[package] name = "gp-wasm-interface" version = "18.0.0-pre.1" authors = ["Gear Technologies"] edition = "2021" license = "Apache-2.0" homepage = "https://substrate.io" repository = "https://github.com/gear-tech/polkadot-sdk" description = "Types and traits for interfacing between the host and the wasm runtime." documentation = "https://docs.rs/gp-wasm-interface" readme = "README.md" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } impl-trait-for-tuples = "0.2.2" log = { version = "0.4.17", optional = true } wasmtime = { version = "8.0.1", default-features = false, optional = true } anyhow = { version = "1.0.68", optional = true } # LOCAL DEPDENDENCIES # # sp-std = { path = "../std", default-features = false} # sp-wasm-interface-common = { version = "7.0.0", path = "../wasm-interface-common", default-features = false } # sp-allocator = { version = "4.1.0-dev", path = "../allocator", default-features = false } sp-std = { version = "12.0.0", default-features = false } sp-wasm-interface-common = { version = "15.0.0", default-features = false } sp-allocator = { version = "4.1.2", package = "gp-allocator", default-features = false } [features] default = [ "std" ] std = ["codec/std", "log/std", "sp-allocator/std", "sp-std/std", "wasmtime"] wasmtime = [ "anyhow", "dep:wasmtime" ] wasmi = [ "sp-wasm-interface-common/wasmi" ]