[package]
name = "frame-support"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

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

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

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