An open API service indexing awesome lists of open source software.

https://github.com/mloning/first-steps-in-rust

My first step using the Rust programming language
https://github.com/mloning/first-steps-in-rust

Last synced: 5 months ago
JSON representation

My first step using the Rust programming language

Awesome Lists containing this project

README

          

# First steps in Rust

My solutions for the tutorials in the [Rust Book](https://doc.rust-lang.org/book/).

## Tutorials

* [guessing game](https://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html)
* [minigrep](https://doc.rust-lang.org/book/ch12-00-an-io-project.html)
* [webserver](https://doc.rust-lang.org/book/ch20-00-final-project-a-web-server.html)

## Dev workflow

Set up a new project:

```bash
cargo new
```

Compile and run a project:

```bash
cargo run
```

Run unit tests:

```bash
cargo test
```

Generate and open docs:

```bash
cargo doc --open
```

## Extra resources

* [A half-hour to learn Rust](https://fasterthanli.me/articles/a-half-hour-to-learn-rust)