Skip to content

Eager optional dependencies #2593

@Ericson2314

Description

@Ericson2314

I need a better name :).

Basically the idea is many crates could depend on something else, but don't need to; therefore they should depend on it automatically iff its already a included in the build plan.

The biggest example I can think of is with std. Consider features like:

For comparison, Haskell's Cabal has some automatic flag resolution (flag == feature, basically) https://www.haskell.org/cabal/users-guide/developing-packages.html#resolution-of-conditions-and-flags which occupies a similar niche.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-featuresArea: features — conditional compilation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions