Find a file
Alex Crichton c2b23512d5 House all native build output in a per-package dir
In order to ensure there are no stale artifacts as part of a build, this commit
houses all output of native build commands in their own directories. Each
directory is on a per-package basis, and the output is preserved if the package
is fresh or discarded if it is not.

This does not remove the DEPS_DIR environment variable, it just wires it to the
same value as OUT_DIR.
2014-07-18 18:04:47 -07:00
DESIGN WIP 2014-04-11 17:39:18 -07:00
libs Update hammer to fix cargo build -h. 2014-07-18 07:59:13 -07:00
src House all native build output in a per-package dir 2014-07-18 18:04:47 -07:00
tests House all native build output in a per-package dir 2014-07-18 18:04:47 -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.