Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/itsthatguy/rust-samples


https://github.com/itsthatguy/rust-samples

Last synced: about 6 hours ago
JSON representation

Awesome Lists containing this project

README

        



Project logo

Rust Samples

[![Status](https://img.shields.io/badge/status-active-success.svg)]() [![GitHub Issues](https://img.shields.io/github/issues/itsthatguy/rust-samples.svg)](https://github.com/itsthatguy/rust-samples/issues) [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/itsthatguy/rust-samples.svg)](https://github.com/itsthatguy/rust-samples/pulls) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

---


A little playground for myself to try out various ideas in Rust.

## 📝 Table of Contents

- [Prerequisites](#prerequisites)
- [Getting Started](#getting_started)
- [Running](#running)
- [Tests](#tests)
- [Usage](#usage)

## Prerequisites

Before you begin, ensure you have met the following requirements:

- You have a recent version of Windows, macOS, or Linux installed on your system.
- You have a basic understanding of the command line and Git.

## 🏁 Getting Started

To get started with this project, you will need to have Rust installed on your system. If you don't have Rust installed, you can download and install it from the official Rust website: https://www.rust-lang.org/tools/install.

Once you have Rust installed, you can clone this repository:

```shell
git clone https://github.com/itsthatguy/rust-samples.git
```

## 🏃‍♂️ Running the Application

To run the application, navigate to the project directory and run the following command:

```shell
cargo run
```

This will compile and run the project. You should see:

```shell
Hello from tools
Hi from Hammer
Hi from Saw
Hello from hammer
Hello from saw
```

## 🔧 Running the tests

To run the tests for this application, navigate to the project directory and run the following command:

```shell
cargo test
```

This will run all of the tests in the project and report any failures.

## ⛏️ Built Using

- [Rust](https://www.rust-lang.org/)