]>
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 | ||
7fdde8e1 | 7 | You'll want to clone cargo using --recursive on git, to clone in its submodule |
eb7a1637 | 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 | |
fe624014 YK |
20 | ## Contributing to the Docs |
21 | ||
22 | To contribute to the docs, please submit pull requests to [wycats/cargo-website][1]. | |
23 | All you need to do is change the markdown files in the source directory. | |
24 | ||
25 | [1]: https://github.com/wycats/cargo-website | |
26 | ||
c6fc2f58 AC |
27 | ## License |
28 | ||
29 | Cargo is primarily distributed under the terms of both the MIT license | |
30 | and the Apache License (Version 2.0). | |
31 | ||
32 | See LICENSE-APACHE and LICENSE-MIT for details. |