Skip to content

Allow to set lockfile-path via an environment variable #15510

Open
@tnull

Description

@tnull

Problem

In #14326, the capability to specify an lockfile-path was added to cargo. It would be awesome if this would also possible to configure via an environment variable, similar to CARGO_TARGET_DIR.

Proposed Solution

Add the capability to set the lockfile path via a CARGO_LOCKFILE_PATH environment variable.

Notes

See also #14421

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lockfileArea: Cargo.lock issuesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions