Skip to content

Activate features of individual crates in a cargo workspace #10298

@Lucretiel

Description

@Lucretiel

Currently, the only two options for cargo features in rust-analyzer are "all features" and "list of features". If you're in a cargo workspace, the "list of features" seems to apply to all crates, which breaks certain workflows when working in those crates (in particular, the "▷Run Test" inline buttons). There should be a way to apply designate specific crates to apply features in the project settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature requestE-unknownIt's unclear if the issue is E-hard or E-easy without digging in

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions