/aoc21rust

My solutions to the Advent of Code 2021, written in Rust (and used to learn the language)

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Advent of Code 2021

My solutions to the Advent of Code 2021.

In this repo, I am using the code puzzles as a way of learning Rust. Let's see, how it goes ...

Installation

  1. Clone repository
  2. Run cargo update

Compiling and Running

Use cargo to compile and run the puzzle solutions. There is a small CLI to select the corresponding puzzle parts, allowing to switch between test input or the full puzzle input:

cargo run <day> <part> --test
cargo run <day> <part> --full