This tool allows users to install, manage and update dependencies. See the example to see how it works. Full disclaimer, this has been a pet personal project used to learn Rust.
vendor initinitialises a.vendor.ymlfile in the working directoryvendor addadds a dependency in the.vendor.ymlfilevendor installdownloads and vendors the vendor the specified dependencies- The first time this command is executed, it will generate a
.vendor-lock.ymlwhich keeps track of the locked reference that has been vendored (eg. a specific commit) - If the lock file is already present, it will vendor the depencies locked to whatever reference the dependency is locked at
- The first time this command is executed, it will generate a
vendor updateignores thevendor-lock.ymland fetches newest dependencies according to the refname that is specified in the.vendor.ymlfile