[package] name = "pallet-xcm-benchmarks" authors.workspace = true edition.workspace = true license.workspace = true version = "17.0.0" description = "Benchmarks for the XCM pallet" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { workspace = true } scale-info = { features = ["derive"], workspace = true } frame-support.workspace = true frame-system.workspace = true sp-runtime.workspace = true sp-io.workspace = true xcm-executor.workspace = true frame-benchmarking.workspace = true xcm.workspace = true xcm-builder.workspace = true log = { workspace = true, default-features = true } [dev-dependencies] pallet-balances = { default-features = true, path = "../../../substrate/frame/balances" } pallet-assets = { default-features = true, path = "../../../substrate/frame/assets" } sp-tracing = { default-features = true, path = "../../../substrate/primitives/tracing" } xcm = { default-features = true, path = "..", package = "staging-xcm" } # temp pallet-xcm = { default-features = true, path = "../pallet-xcm" } polkadot-runtime-common = { default-features = true, path = "../../runtime/common" } # westend-runtime = { path = "../../runtime/westend", features = ["runtime-benchmarks"] } polkadot-primitives = { default-features = true, path = "../../primitives" } [features] default = ["std"] std = [ "codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "log/std", "scale-info/std", "sp-io/std", "sp-runtime/std", "xcm-builder/std", "xcm-executor/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", ]