diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-04-06 19:59:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-06 21:03:34 +0700 |
commit | 69d62faa221332af8bf7ebef73e48f956292556a (patch) | |
tree | 347d6a725a953da45228af3d34fab3cbe8164e13 /development/cargo/README | |
parent | 921c445b018b1cee4e72d9e079ba55c5af65ad8c (diff) | |
download | slackbuilds-69d62faa221332af8bf7ebef73e48f956292556a.tar.gz slackbuilds-69d62faa221332af8bf7ebef73e48f956292556a.tar.xz |
development/cargo: Optionally support vendored crate dependencies.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cargo/README')
-rw-r--r-- | development/cargo/README | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/development/cargo/README b/development/cargo/README index 607d9f19d1..dd89150e92 100644 --- a/development/cargo/README +++ b/development/cargo/README @@ -4,10 +4,18 @@ This will build cargo from source, which like rust, requires itself to bootstrap. This will build cargo using the installed rust and previously stable version of cargo. -If you already have rust and cargo installed, this slackbuild will use these to +If you already have cargo installed, this slackbuild will use it to bootstrap this version of cargo instead of a downloaded one. You can also force either behaviour through the LOCAL_BOOTSTRAP=yes|no parameter. - LOCAL_BOOTSTRAP=no ./cargo.SlackBuild
\ No newline at end of file + LOCAL_BOOTSTRAP=no ./cargo.SlackBuild + +By default, the slackbuild requires all crate dependencies to be downloaded +individually. Optionally, if you 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-mkvendortarball.sh will generate this for you. The slackbuild +will automatically use this tarball if found in the current directory. |