[package]
name = "frame-support"
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 = "Support code for the runtime."

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

[dependencies]
log = "0.4"
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "11.0.0-rc2", default-features = false, path = "../metadata" }
sp-std = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/std" }
sp-io = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/runtime" }
sp-tracing = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/tracing" }
sp-core = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/core" }
sp-arithmetic = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/arithmetic" }
sp-inherents = { version = "2.0.0-rc2", default-features = false, path = "../../primitives/inherents" }
frame-support-procedural = { version = "2.0.0-rc2", path = "./procedural" }
paste = "0.1.6"
once_cell = { version = "1", default-features = false, optional = true }
sp-state-machine = { version = "0.8.0-rc2", optional = true, path = "../../primitives/state-machine" }
bitmask = { version = "0.5.0", default-features = false }
impl-trait-for-tuples = "0.1.3"
smallvec = "1.4.0"

[dev-dependencies]
pretty_assertions = "0.6.1"
frame-system = { version = "2.0.0-rc2", path = "../system" }

[features]
default = ["std"]
std = [
	"once_cell",
	"bitmask/std",
	"serde",
	"sp-io/std",
	"codec/std",
	"sp-std/std",
	"sp-runtime/std",
	"sp-tracing/std",
	"sp-arithmetic/std",
	"frame-metadata/std",
	"sp-inherents/std",
	"sp-state-machine",
]
nightly = []
strict = []
runtime-benchmarks = []
