aboutsummaryrefslogtreecommitdiff
path: root/development/cargo-vendor/README
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-04-06 20:00:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:03:35 +0700
commita938357494514ff1507a915c9e67a6e02bb9b45b (patch)
tree60f0012518054e1d4da67c4b97894eba84e1e354 /development/cargo-vendor/README
parent69d62faa221332af8bf7ebef73e48f956292556a (diff)
development/cargo-vendor: Support vendored crate dependencies.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cargo-vendor/README')
-rw-r--r--development/cargo-vendor/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/development/cargo-vendor/README b/development/cargo-vendor/README
index 51b8ca81eee30..16f506e503b22 100644
--- a/development/cargo-vendor/README
+++ b/development/cargo-vendor/README
@@ -4,3 +4,11 @@ This is a Cargo subcommand which vendors all crates.io dependencies into a
local directory using Cargo's support for source replacement.
cargo-vendor is helpful for packaging applications which use cargo (rust).
+
+By default, the slackbuild requires all crate dependencies to be downloaded
+individually. Optionally, if you already have cargo-vendor installed, you can
+create a "vendored" tarball which contains all the crate dependencies exploded
+into a single directory and then compressed together as a tarball.
+
+The script cargo-vendor-mkvendortarball.sh will generate this for you. The slackbuild
+will automatically use this tarball if found in the current directory.