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
- Host: GitHub
- URL: https://github.com/mloning/first-steps-in-rust
- Owner: mloning
- Created: 2022-10-09T11:54:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-30T13:44:28.000Z (over 3 years ago)
- Last Synced: 2025-07-15T17:49:37.123Z (12 months ago)
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)