This repository is for my efforts at completing Advent of Code 2020 using Rust.
git clone git://github.com/jacobguenther/advent_of_code_2020.git
cd advent_of_code_2020.git
Make sure you have cargo and rustc installed. This project uses nightly features. So also make sure you are using the nightly branch then run
cargo build --release
I recommend using the "--release" flag as day 15 can take over a minute on some hardware without it.
cargo run --release <day_number>
To view the answers for all the challenges so far enter.
cargo run --release
or
cargo run --release threaded
cargo test --release day_<number>
cargo bench --release day_<number>