Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vitalegi/rust-playground

Playground from 0 to hero(?) with Rust
https://github.com/vitalegi/rust-playground

Last synced: 1 day ago
JSON representation

Playground from 0 to hero(?) with Rust

Awesome Lists containing this project

README

        

# README

Collection of samples to improve mastery of rust programming language & its ecosystem.

## How to start a project

```powershell
$project_name="hello_world"
cargo new $project_name
cd $project_name
```

## Common commands

### Clean

```
cargo clean
```

### Build

Will generate a _dev_ build, available under `.\target\debug`

```
cargo build
```

### Release

Will generate a _prod_ build, available under `.\target\release`

```
cargo build --release
```

### Run

```
cargo run
```

### Check code

```
cargo check
```

### Build dependencies documentation

```
cargo doc --open
```