-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Documentation for cargo vendor use cases #7520
Copy link
Copy link
Open
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationC-bugCategory: bugCategory: bugCommand-vendorE-mediumExperience: MediumExperience: MediumS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Metadata
Metadata
Assignees
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationC-bugCategory: bugCategory: bugCommand-vendorE-mediumExperience: MediumExperience: MediumS-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
Cargo vendor has limited docs : https://doc.rust-lang.org/nightly/cargo/commands/cargo-vendor.html . While this describes what cargo vendor does as a tool, it doesn't encompass the larger needs of an opensource project to use vendoring for offline builds in build farms etc.
As a result, while attempting to integrate rust into a project, we have found that certain cases are non-intuitive or may not work.
I would like to ask that cargo vendor be documented with how a project would integrate it into their work flows. Important considerations are:
These are all important aspects that today we have struggled with with cargo vendor, so having these generic workflows documented would really help other projects to adopt cargo with vendoring.