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

https://github.com/exu/rust-training

It's time to learn some Rust
https://github.com/exu/rust-training

Last synced: 26 days ago
JSON representation

It's time to learn some Rust

Awesome Lists containing this project

README

          

# rust-training

## 001 Hello!

To compile use:
```
rustc 001-hello/main.rs
./main
```

## Cargo

Go need 9 years to manage deps properly ;)
In rust you want to use Cargo:

### Creating new project

```
cargo new some-service
cd some-service
cargo run
```

### Creating new libs

If you add ```--lib``` cargo will generate new library project.

## Control structures