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

https://github.com/webbertakken/learning-rust

Nothing much to see here, just me learning Rust :)
https://github.com/webbertakken/learning-rust

Last synced: 10 months ago
JSON representation

Nothing much to see here, just me learning Rust :)

Awesome Lists containing this project

README

          

# Learning Rust

Nothing much to see here, just me learning Rust :)

Each folder contains a Rust project.
The basics folder contains examples of most of the language's basics.

![Build & Test](https://github.com/webbertakken/learning-rust/actions/workflows/main.yml/badge.svg)

## Usage

### Prerequisites

- [cargo-watch](https://crates.io/crates/cargo-watch)

### Build & Run

Usage example

```shell
cd basics
cargo run
```

Alternatively, to run from the root directory

```shell
cargo run --manifest-path=basics/Cargo.toml
```

### Watch

Usage example

```shell
cd basics
cargo watch -x run
```

Alternatively, to run from the root directory

```shell
cargo watch -x 'run -- --manifest-path=basics/Cargo.toml'
```

Example usage for image processing

```shell
cd image-processing
cargo watch --ignore output -x 'run -- -v --blur .5 --fractal im
ages/pens.png output/pens.png'
```

## License

[MIT](./LICENSE) license