/adventofcode2021

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Solutions for the 2021 Advent of Code in Rust by matei-oltean

See https://adventofcode.com/2021 to access the contest

Workflow

All these commands should be run from the root folder and should assume the Rust toolchain presence on the computer.

Creating a new package

To create a new package:

cargo new day_x

day_x should be added to the members list of the root Cargo.toml file.

Running the solutions

cargo run -p day_x

Running clippy on the code

Run cargo clippy --fix --allow-dirty to fix clippy issues in the code.