Find a file
Alex Crichton 5dc5381fcc Use a hash for -C metadata instead of a string
This ends up serving the same purpose, but a critical change is that it
canonicalizes the relevant git url (if one is used) to ensure that the same
package from two slightly different locations is always built the same way.

Sadly I'm not quite sure how to add a test for this as it involves using remote
git urls which are unusable during tests.
2014-07-22 10:06:36 -07:00
DESIGN WIP 2014-04-11 17:39:18 -07:00
libs Improve test output 2014-07-21 12:23:01 -07:00
src Use a hash for -C metadata instead of a string 2014-07-22 10:06:36 -07:00
tests Use a hash for -C metadata instead of a string 2014-07-22 10:06:36 -07:00
.gitignore Clean up cargo-compile 2014-05-07 15:49:01 -07:00
.gitmodules Move from rust-toml to toml-rs 2014-06-23 11:38:53 -07:00
.travis.install.deps.sh Prepare for buildbot automation 2014-06-26 20:25:30 -07:00
.travis.yml Fix travis builds 2014-07-10 13:37:32 -07:00
.vimrc Add vimrc settings 2014-04-29 11:43:18 -07:00
LICENSE-APACHE Add the standard Rust Apache/MIT license 2014-06-24 12:26:13 -07:00
LICENSE-MIT Add the standard Rust Apache/MIT license 2014-06-24 12:26:13 -07:00
Makefile Add version command, closes #201 2014-07-18 14:42:26 +02:00
MANIFEST.md Use [[bin]] instead of [[executable]] in manifest examples 2014-07-18 12:58:48 +01:00
README.md Add an installation script to the repo 2014-07-14 08:18:49 -07:00

Cargo downloads your Rust projects dependencies and compiles your project.

Learn more at http://crates.io/.

Installing cargo from nightlies

Cargo has nightlies available for use. The cargo source is not always guaranteed to compile on rust master as it may lag behind by a day or two. Nightlies, however, will run regardless of this fact!

$ curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz
$ tar xf cargo-nightly-linux.tar.gz
$ ./cargo-nightly/install.sh

The current nightlies available are:

Compiling cargo

You'll want to clone cargo using --recursive on git, to clone in its submodule dependencies.

$ git clone --recursive https://github.com/rust-lang/cargo

or

$ git submodule init
$ git submodule update

Then it's as simple as make followed by make install and you're ready to go.

Contributing to the Docs

To contribute to the docs, please submit pull requests to wycats/cargo-website. All you need to do is change the markdown files in the source directory.

License

Cargo is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.