mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
8db7ec9cc9
* all reverences of substrate.dev replaced with *correct* docs.substrate.io links * fix links in non-cargo files, errors in replace * homepage https://substrate.io * cargo +nightly fmt * FMT Co-authored-by: Bastian Köcher <info@kchr.de>
47 lines
1.4 KiB
TOML
Executable File
47 lines
1.4 KiB
TOML
Executable File
[package]
|
|
name = "sp-sandbox"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
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.0", 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.0.0-dev", default-features = false, path = "../core" }
|
|
sp-std = { version = "4.0.0-dev", default-features = false, path = "../std" }
|
|
sp-io = { version = "4.0.0-dev", default-features = false, path = "../io" }
|
|
sp-wasm-interface = { version = "4.0.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 = []
|