Support ~ in path for dependencies #12874
Labels
A-crate-dependencies
Area: [dependencies] of any kind
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Problem
I would like to specify a dependency relative to my home directory. At the moment I would need to specify the home directory as a full path which is platform dependent, e.g Linux
Proposed Solution
Most shells expand
~
into the current users home directory. It would be nice if cargo could do the same.That would than be expanded into the user home directory.
Notes
Currently
~/something
is resolved toproject-dir/~/something
which is obviously not what is intended by the user.Also looking through existing issues, this might be the same as #12873
The text was updated successfully, but these errors were encountered: