]>
Commit | Line | Data |
---|---|---|
b4e86302 YK |
1 | Cargo downloads your Rust project’s dependencies and compiles your project. |
2 | ||
3 | Learn more at http://crates.io/. | |
4 | ||
41a4df26 | 5 | ## Compiling cargo |
6 | ||
eb7a1637 AC |
7 | You'll want to clone cargo using --recursive on git, to clone in it's submodule |
8 | dependencies. | |
83651db4 | 9 | ``` |
bbd57905 | 10 | $ git clone --recursive https://github.com/rust-lang/cargo |
83651db4 | 11 | ``` |
12 | or | |
41a4df26 | 13 | ``` |
14 | $ git submodule init | |
bbfce4ac | 15 | $ git submodule update |
41a4df26 | 16 | ``` |
eb7a1637 AC |
17 | Then it's as simple as ```make``` followed by ```make install``` and you're |
18 | ready to go. | |
41a4df26 | 19 | |
c6fc2f58 AC |
20 | ## License |
21 | ||
22 | Cargo is primarily distributed under the terms of both the MIT license | |
23 | and the Apache License (Version 2.0). | |
24 | ||
25 | See LICENSE-APACHE and LICENSE-MIT for details. |