Skip to content

Ban direct dependency only #776

@jayvdb

Description

@jayvdb

Is your feature request related to a problem? Please describe.

I would like to ban direct dependency on the "http" crate in our project. All use of it should be via the re-exports provided by other crates, as this ensures that the correct version of "http" is used.

This can be done by doing { crate = "http", wrappers = [ ... list 50 crates here...] } , but that will require regular maintenance to keep it up to date

Describe the solution you'd like

Some syntax that allows the http crate only indirectly, not used directly in workspace members, including not in dev-deps, etc.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions