Skip to content

Please provide a cargo install option to not write .crates.toml #3316

@joshtriplett

Description

@joshtriplett

When installing a crate as part of a package build process (with --root pointing to a directory that will get packaged as /usr), I'd like to avoid writing the .crates.toml file (which would become /usr/.crates.toml). Right now, I run cargo install and then remove that file afterward. Please consider providing an option to not write .crates.toml at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-install

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions