Import hex_literal into runtime only for benchmarks. (#6502)

This commit is contained in:
Kian Paimani
2020-06-25 10:48:30 +02:00
committed by GitHub
parent f12d4cfcfd
commit c6a33a54b8
+2 -1
View File
@@ -18,7 +18,7 @@ codec = { package = "parity-scale-codec", version = "1.3.1", default-features =
integer-sqrt = { version = "0.1.2" }
serde = { version = "1.0.102", optional = true }
static_assertions = "1.1.0"
hex-literal = "0.2.1"
hex-literal = { version = "0.2.1", optional = true }
# primitives
sp-authority-discovery = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/authority-discovery" }
@@ -168,4 +168,5 @@ runtime-benchmarks = [
"pallet-offences-benchmarking",
"pallet-session-benchmarking",
"frame-system-benchmarking",
"hex-literal",
]