Ids 706, miniproject 7 in Rust by Aryan Poonacha for Fall '23. Includes a package system that can be installed and used. Below is a user guide on how to install and use the tool:
This is a basic environment that comes with the following software choices preinstalled:
- curl/curl: the command line tool for transferring data over a metric boatload of protocols.
- git: the Git SCM tool.
- gnupg2: a complete and free implementatiuon of the OpenPGP standard.
- stedolan/jq - a command line JSON parser.
- sudo - the superuser authority delegation tool.
- zsh - interactive terminal (alternative to
bash
). - ohmyzsh/ohmyzsh - a delightful community driven framework for managing zsh config.
- vim - a text editor
- build essentials - tools for compiling and linking code
- openssl - tls and ssl toolkit
Besides Rust and Cargo, the image comes with the following Rust related tooling:
- rustup: installer and toolchain manager
- rustfmt: a tool for formatting Rust code according to style guidelines
- clippy: lints to catch common mistakes and improve your Rust code
- Rust Analyzer: an alternative rust language server to the RLS.
- CodeLLDB: native debugger based on LLDB.
- Crates: helps Rust developers managing dependencies with Cargo.toml.
- Live Share: collaborative, multi-user remote editing from directly within the editor.
- Ubuntu 18.04: The 18.04 LTS version of Ubuntu.
This is a command-line tool written in Rust that generates cool and interesting patterns. It currently supports two types of patterns: squares and triangles.
Before you can use this tool, you need to install Rust. You can do this by following the instructions on the official Rust website.
Once you have Rust installed, you can build and install the pattern generator tool by cloning this repository and running the following command in the root directory of the project:
cargo build --release
This will create an optimized executable in the target/release directory.
Usage You can run the pattern generator tool using the cargo run command followed by the pattern type and size. For example, to generate a square pattern of size 5, you would use:
cargo run square 5
And to generate a triangle pattern of size 7, you would use:
cargo run triangle 7
The pattern type can be either square or triangle, and the size must be a positive integer.
Please replace cargo run with the actual command to run your Rust application if itβs different.
The CI/CD included in the deploy.yml file should automatically build and run an example of this.