Skip to content

[parity-util-mem] consider removing some features #377

@ordian

Description

@ordian

This was brought up by @bkchr in paritytech/substrate#5658 (review):

Can we please fix this upstream?

The design of this crate seems somewhat broken.

Instead of our own crate depending on our own crates, it should be the other way around. primitive-types and all this ethereum stuff should depend on util-mem when a feature is activated.

I agree in general and don't know why it was done this way, but on the other hand it won't solve the problem here completely because there still be other dependencies we don't own present as features (like lru, parking_lot, etc.). Another thing to consider is to reduce the default feature set to std (but that's a breaking change).

cc @cheme

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions