Contracts: make benchmark dependencies optional in std feature (#2576)

`wasm-instrument` and `rand` are optional and only used in benchmarking,
so should not be pulled in by default as part of the `std` feature.
This commit is contained in:
Andrew Jones
2023-12-01 11:19:09 +00:00
committed by GitHub
parent 4a293bc5a2
commit dfd7b15eff
+2 -2
View File
@@ -88,7 +88,7 @@ std = [
"pallet-proxy/std", "pallet-proxy/std",
"pallet-timestamp/std", "pallet-timestamp/std",
"pallet-utility/std", "pallet-utility/std",
"rand/std", "rand?/std",
"scale-info/std", "scale-info/std",
"serde", "serde",
"sp-api/std", "sp-api/std",
@@ -97,7 +97,7 @@ std = [
"sp-keystore/std", "sp-keystore/std",
"sp-runtime/std", "sp-runtime/std",
"sp-std/std", "sp-std/std",
"wasm-instrument/std", "wasm-instrument?/std",
"wasmi/std", "wasmi/std",
"xcm-builder/std", "xcm-builder/std",
"xcm/std", "xcm/std",