Summary
RFC: #3529
Original issue: #9855
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#path-bases
Implementation:
Introduce shared base directories in Cargo configuration files that in turn enable base-relative path dependencies.
Changes from RFC
Unresolved Issues
Future Extensions
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Summary
RFC: #3529
Original issue: #9855
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#path-bases
Implementation:
cargo [add|remove|update]support #14427[patch]table in config supportIntroduce shared base directories in Cargo configuration files that in turn enable base-relative path dependencies.
Changes from RFC
basenaming was switched topackage/registrynaming rules, meaning we support unicode instead of just ASCII (Implement path-bases (RFC 3529) 1/n: path dep and patch support #14360)Unresolved Issues
path-bases) and field names (base)?packageorcurrent-dirfor the directory of the current project?homeoruser_homefor the user's home directory?sysrootfor the current rustc sysroot?[patch]table? Adding support for[patch]in config files greatly complicates the implementationbase = "workspace"work with implicit workspaces?Future Extensions
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.