parity-common icon indicating copy to clipboard operation
parity-common copied to clipboard

ethereum-types/std always pulls in codec

Open vorot93 opened this issue 3 years ago • 2 comments

The correct logic should be "pull codec/std if codec is enabled".

vorot93 avatar Dec 08 '20 14:12 vorot93

this is fixed only in cargo nightly: https://github.com/rust-lang/cargo/issues/8832

ordian avatar Dec 08 '20 14:12 ordian

specifically, this line https://github.com/paritytech/parity-common/blob/54076a524e5d28405b3a4ad3146a108c928998a2/primitive-types/Cargo.toml#L20 pulls in codec, this could be fixed by enabling nightly feature mentioned above

ordian avatar Dec 08 '20 14:12 ordian