mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
7d5202341b
* basic lint * lint ordering
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]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
|
|
log = { version = "0.4", default-features = false }
|
|
wasmi = { version = "0.9.0", optional = true }
|
|
sp-core = { version = "6.0.0", default-features = false, path = "../core" }
|
|
sp-io = { version = "6.0.0", default-features = false, path = "../io" }
|
|
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
|
|
sp-wasm-interface = { version = "6.0.0", default-features = false, path = "../wasm-interface" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.3.0"
|
|
wat = "1.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"log/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"sp-wasm-interface/std",
|
|
"wasmi",
|
|
]
|
|
strict = []
|
|
wasmer-sandbox = []
|