Skip to content

Detect usage to widen feature set of indirect dependency #170

@taladar

Description

@taladar

I recently disabled default-features on reqwest in some of my API crates (e.g. redmine-api) to allow the user to select a TLS implementation instead of forcing them to use the default TLS implementation.

This requires the user to add reqwest to their own dependencies and set additional features (e.g. rustls-tls) when compared to the ones specified by dependencies.

It would be great if cargo-machete could take this usage into account when deciding if a dependency is unused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions