[package]
name = "frame-benchmarking"
version = "4.0.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 = "Macro for benchmarking a FRAME runtime."
readme = "README.md"

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

[dependencies]
linregress = { version = "0.4.4", optional = true }
paste = "1.0"
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", path = "../../primitives/api", default-features = false }
sp-runtime-interface = { version = "5.0.0", path = "../../primitives/runtime-interface", default-features = false }
sp-runtime = { version = "5.0.0", path = "../../primitives/runtime", default-features = false }
sp-std = { version = "4.0.0", path = "../../primitives/std", default-features = false }
sp-io = { version = "5.0.0", path = "../../primitives/io", default-features = false }
sp-application-crypto = { version = "5.0.0", path = "../../primitives/application-crypto", default-features = false }
sp-storage = { version = "5.0.0", path = "../../primitives/storage", default-features = false }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
log = { version = "0.4.14", default-features = false }
serde = { version = "1.0.136", optional = true }

[dev-dependencies]
hex-literal = "0.3.4"
sp-keystore = { version = "0.11.0", path = "../../primitives/keystore" }

[features]
default = ["std"]
std = [
	"codec/std",
	"scale-info/std",
	"serde",
	"sp-runtime-interface/std",
	"sp-runtime/std",
	"sp-api/std",
	"sp-std/std",
	"frame-support/std",
	"frame-system/std",
	"linregress",
	"log/std",
]
runtime-benchmarks = []
