summaryrefslogtreecommitdiff
path: root/README.md
blob: 9d4949f08aafd799b90b87fc705e442e66da0af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Rust Langugage

current: https://doc.rust-lang.org/book/ch04-01-what-is-ownership.html

## Shell

Compile a single file.

```bash
$ rustc main.rs
```

Create a new cargo project:

```bash
$ cargo new hello_world
```

Build a cargo project:

```bash
$ cargo build
```

Run a cargo project:

```bash
$ cargo run
```

Check for errors in a cargo project:

```bash
$ cargo check
```

## Standard Library

* [Docs][1]

[1]: https://doc.rust-lang.org/std/prelude/index.html