mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 10:11:03 +00:00
7711f5266e
* Statically register host WASM functions * Fix `substrate-test-client` compilation * Move `ExtendedHostFunctions` to `sp-wasm-interface` * Fix `sp-runtime-interface` tests' compilation * Fix `sc-executor-wasmtime` tests' compilation * Use `runtime_interface` macro in `test-runner` * Fix `sc-executor` tests' compilation * Reformatting/`rustfmt` * Add an extra comment regarding the `H` generic arg in `create_runtime` * Even more `rustfmt` * Depend on `wasmtime` without default features in `sp-wasm-interface` * Bump version of `sp-wasm-interface` to 4.0.1 * Bump `sp-wasm-interface` in `Cargo.lock` too * Bump all of the `sp-wasm-interface` requirements to 4.0.1 Maybe this will appease cargo-unleash? * Revert "Bump all of the `sp-wasm-interface` requirements to 4.0.1" This reverts commit 0f7ccf8e0f371542861121b145ab87af6541ac30. * Make `cargo-unleash` happy (maybe) * Use `cargo-unleash` to bump the crates' versions * Align to review comments
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "sp-sandbox"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "This crate provides means to instantiate and execute wasm modules."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasmi = { version = "0.9.1", default-features = false, features = ["core"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
wasmi = "0.9.0"
|
|
|
|
[dependencies]
|
|
wasmi = { version = "0.9.0", optional = true }
|
|
sp-core = { version = "4.1.0-dev", default-features = false, path = "../core" }
|
|
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
|
|
sp-io = { version = "4.0.0-dev", default-features = false, path = "../io" }
|
|
sp-wasm-interface = { version = "4.1.0-dev", default-features = false, path = "../wasm-interface" }
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
|
|
log = { version = "0.4", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
wat = "1.0"
|
|
assert_matches = "1.3.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"wasmi",
|
|
"sp-core/std",
|
|
"sp-std/std",
|
|
"codec/std",
|
|
"sp-io/std",
|
|
"sp-wasm-interface/std",
|
|
"log/std",
|
|
]
|
|
strict = []
|
|
wasmer-sandbox = []
|