Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix: use once_cell with feature=std in abigen #401

Merged
merged 1 commit into from
Aug 23, 2021
Merged

fix: use once_cell with feature=std in abigen #401

merged 1 commit into from
Aug 23, 2021

Conversation

nhynes
Copy link
Contributor

@nhynes nhynes commented Aug 23, 2021

This PR fixes the once_cell dependency of ethers-contract-abigen which has a dependency on once_cell::sync, but doesn't pull in this mod due to the std feature being turned off. If this worked before, it's because all of the tests are run using Cargo with resolver = 1, which compiles one version of a dependency with all features enabled by all peer dependencies.

Copy link
Owner

@gakonst gakonst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - nice catch! I wonder if that was what was causing the failure in CI for abigen recently...

@gakonst gakonst merged commit 2632434 into gakonst:master Aug 23, 2021
@nhynes nhynes deleted the nhynes/fix-once-cell branch August 23, 2021 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants