Skip to content

Contracts: make benchmark dependencies optional in std feature#2576

Merged
ascjones merged 3 commits into
masterfrom
aj/contracts-wasm-instrument
Dec 1, 2023
Merged

Contracts: make benchmark dependencies optional in std feature#2576
ascjones merged 3 commits into
masterfrom
aj/contracts-wasm-instrument

Conversation

@ascjones

@ascjones ascjones commented Dec 1, 2023

Copy link
Copy Markdown
Contributor

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.

@ascjones ascjones added the A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Dec 1, 2023
@ascjones ascjones requested a review from athei as a code owner December 1, 2023 10:22
@ascjones ascjones requested a review from a team December 1, 2023 10:22
@ascjones ascjones changed the title Remove wasm-instrument from default std feature Contracts: remove wasm-instrument from default std feature Dec 1, 2023
@ascjones ascjones added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Dec 1, 2023
@ascjones ascjones changed the title Contracts: remove wasm-instrument from default std feature Contracts: make wasm-instrument optional in std feature Dec 1, 2023
@ascjones ascjones changed the title Contracts: make wasm-instrument optional in std feature Contracts: make benchmark dependencies optional in std feature Dec 1, 2023
@ascjones ascjones enabled auto-merge (squash) December 1, 2023 11:18
@ascjones ascjones merged commit dfd7b15 into master Dec 1, 2023
@ascjones ascjones deleted the aj/contracts-wasm-instrument branch December 1, 2023 11:19
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A1-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants