Find a file
Alex Crichton 6f2173dc9f Fix some dep errors with cross-compiled plugins
* Make sure plugins link to plugin dependencies, not target dependencies.
  Previously the --extern flag was being passed incorrectly but the dependency
  was being picked up by -L anyway.

* Fix a type and actually put the host dep directory into LD_LIBRARY_PATH, not
  the target directory. A test was added for this change.
2014-07-28 17:08:46 -07:00
DESIGN WIP 2014-04-11 17:39:18 -07:00
src Fix some dep errors with cross-compiled plugins 2014-07-28 17:08:46 -07:00
tests Fix some dep errors with cross-compiled plugins 2014-07-28 17:08:46 -07:00
.gitignore Clean up cargo-compile 2014-05-07 15:49:01 -07:00
.travis.install.deps.sh Fix travis builds 2014-07-22 10:07:49 -07:00
.travis.yml Fix travis builds 2014-07-22 10:07:49 -07:00
.vimrc Add vimrc settings 2014-04-29 11:43:18 -07:00
Cargo.toml Move from hammer to docopt for option parsing 2014-07-28 13:37:19 -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 Bootstrap cargo with cargo 2014-07-25 21:20:28 -07: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.