summaryrefslogtreecommitdiff
path: root/development/cargo/README
blob: dd89150e9211c1162dfefb66b0c762b23f6a6ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cargo - The Rust package manager https://crates.io/

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 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

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.