Skip to content

Commit

Permalink
Contracts: make benchmark dependencies optional in std feature (par…
Browse files Browse the repository at this point in the history
…itytech#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.
  • Loading branch information
ascjones authored Dec 1, 2023
1 parent c9d9365 commit 7fcd0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/frame/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ std = [
"pallet-proxy/std",
"pallet-timestamp/std",
"pallet-utility/std",
"rand/std",
"rand?/std",
"scale-info/std",
"serde",
"sp-api/std",
Expand All @@ -97,7 +97,7 @@ std = [
"sp-keystore/std",
"sp-runtime/std",
"sp-std/std",
"wasm-instrument/std",
"wasm-instrument?/std",
"wasmi/std",
"xcm-builder/std",
"xcm/std",
Expand Down

0 comments on commit 7fcd0ca

Please sign in to comment.