Skip to content

feature: customize install features #1

@ToBinio

Description

@ToBinio

Problem

cargo install supports enabling custom features for the installed crate. This is used in e.g diesel-cli. sadly (at least to my knowledge) this customization is not supported.

Solution

In my opinion, the best solution would be to add some sort of config file. Which stores all the enabled features of a crate and when a crate is going to be updated cargo-installed checks if there are any custom settings for it.

theoretically, this information could also be stored in the global config.toml but I think it would be simpler to add a new file.

note:
this could also be used to store ignored crates
if you want I could try implementing this

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