[package] name = "gear-sandbox" description = "This crate provides means to instantiate and execute wasm modules." documentation = "https://docs.rs/gear-sandbox" readme = "README.md" version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true rust-version.workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec.workspace = true log.workspace = true wasmer = { workspace = true, optional = true } wasmer-types = { workspace = true, optional = true } wasmer-vm = { workspace = true, optional = true } wasmer-compiler = { workspace = true, optional = true } gear-wasmer-cache = { workspace = true, optional = true } sp-core.workspace = true sp-std.workspace = true sp-wasm-interface-common.workspace = true gear-sandbox-interface.workspace = true gear-sandbox-env.workspace = true [dev-dependencies] assert_matches = "1.3.0" wat = "1.0" [features] default = ["std"] std = [ "codec/std", "log/std", "sp-core/std", "sp-std/std", "sp-wasm-interface-common/std", "gear-sandbox-interface/std", "gear-sandbox-env/std", "wasmer", "wasmer-types", "wasmer-vm", "wasmer-compiler", "gear-wasmer-cache", ] strict = []