[package]
name = "pallet-contracts"
version = "2.0.0-rc2"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet for WASM contracts"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
pwasm-utils = { version = "0.12.0", default-features = false }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
parity-wasm = { version = "0.41.0", default-features = false }
wasmi-validation = { version = "0.3.0", default-features = false }
sp-core = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/core" }
sp-runtime = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/runtime" }
sp-io = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/io" }
sp-std = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/std" }
sp-sandbox = { version = "0.8.0-rc2", default-features = false, path = "../../primitives/sandbox" }
frame-support = { version = "2.0.0-rc2", default-features = false, path = "../support" }
frame-system = { version = "2.0.0-rc2", default-features = false, path = "../system" }
pallet-contracts-primitives = { version = "2.0.0-rc2", default-features = false, path = "common" }
pallet-transaction-payment = { version = "2.0.0-rc2", default-features = false, path = "../transaction-payment" }

[dev-dependencies]
wabt = "0.9.2"
assert_matches = "1.3.0"
hex-literal = "0.2.1"
pallet-balances = { version = "2.0.0-rc2", path = "../balances" }
pallet-timestamp = { version = "2.0.0-rc2", path = "../timestamp" }
pallet-randomness-collective-flip = { version = "2.0.0-rc2", path = "../randomness-collective-flip" }

[features]
default = ["std"]
std = [
	"serde",
	"codec/std",
	"sp-core/std",
	"sp-runtime/std",
	"sp-io/std",
	"sp-std/std",
	"sp-sandbox/std",
	"frame-support/std",
	"frame-system/std",
	"parity-wasm/std",
	"pwasm-utils/std",
	"wasmi-validation/std",
	"pallet-contracts-primitives/std",
	"pallet-transaction-payment/std",
]
