-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
Problem
Currently, when user want to setup his own registry, the procedures is very complicated.
For just specifying package name and version number, a simple directory based crate tarball collection set is adequate.
Proposed Solution
Considering this directory:
hello_reg/
├── goodbye
│ ├── goodbye-0.23.12.crate
│ └── goodbye-1.0.1.crate
└── helloworld
├── helloworld-0.0.1.crate
└── helloworld-0.1.0.crate
It would be good to add Cargo feature to add dependencies from hello_reg/
directory. The version resolution is automatically done by Cargo like other type of registry or dependency. And the version wildcard is also supported.
Notes
This feature can make private dependency for private Rust project much more simpler.
Beside a local directory, it can also be a remote FTP URL or HTTP/HTTPS URL.
Metadata
Metadata
Assignees
Labels
A-registriesArea: registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.