Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 710 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 710 Bytes

A simple RestAPI implemented in Rust

Nothing major, just a small project to learn the basics of web development and Rust.

What this is

This RestAPI provides a 2D array of random booleans (represented as one's and zeros) based on the columns and rows specified in the URL.

Build Instructions

Requirements: cargo To run the release optimized version (longer compile times):

# Clone this repo
cd RustAPI-Random-Boolean-Matrix
cargo build --release
./target/release/rock

To run with a quicker compile time:

# Clone this repo
cd RustAPI-Random-Boolean-Matrix
cargo run