Closed bishopcheckmate closed 8 months ago
I pushed the commit which should fix the builds. With resolver = 2, selected features are not propagated through different dependency types and targets so ethers-solc
had to be explicitly enabled in build deps
Description
Cargo defaults to
resolver = "2"
in edition 2021 only for singular crates. Workspace tho defaults to the oldresolver = "1"
and will override this setting for all crates in the workspace. The guideline is to manually set theresolver = "2"
on workspace level. This was documented recently and since a few releases produces a warning on building. You don't see it due to therust-toolchain
setting.Type of change
Contents
resolver = "2"
on workspace levelresolver = "2"
from light-client-poc/Cargo.toml because it was ignored anywayThis also fixes this warning: