2014-06-24 00:02:22 +00:00
|
|
|
|
Cargo downloads your Rust project’s dependencies and compiles your project.
|
|
|
|
|
|
|
|
|
|
Learn more at http://crates.io/.
|
|
|
|
|
|
2014-04-11 10:11:45 +00:00
|
|
|
|
## Compiling cargo
|
|
|
|
|
|
2014-06-24 13:44:47 +00:00
|
|
|
|
You'll want to clone cargo using --recursive on git, to clone in it's submodule
|
|
|
|
|
dependencies.
|
2014-04-12 00:23:20 +00:00
|
|
|
|
```
|
2014-06-24 06:09:03 +00:00
|
|
|
|
$ git clone --recursive https://github.com/rust-lang/cargo
|
2014-04-12 00:23:20 +00:00
|
|
|
|
```
|
|
|
|
|
or
|
2014-04-11 10:11:45 +00:00
|
|
|
|
```
|
|
|
|
|
$ git submodule init
|
2014-06-14 05:14:55 +00:00
|
|
|
|
$ git submodule update
|
2014-04-11 10:11:45 +00:00
|
|
|
|
```
|
2014-06-24 13:44:47 +00:00
|
|
|
|
Then it's as simple as ```make``` followed by ```make install``` and you're
|
|
|
|
|
ready to go.
|
2014-04-11 10:11:45 +00:00
|
|
|
|
|
2014-06-24 15:10:31 +00:00
|
|
|
|
## 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.
|