This repository contains my solutions for Advent of Code 2024 implemented in Rust.
- Rust (latest stable version)
- Cargo (comes with Rust)
To run a specific day's solution:
cargo run -- --day 1
To run tests:
cargo test
Day | Part 1 | Part 2 |
---|---|---|
Day 1 | ⭐ | ⭐ |
Day 2 | ⭐ | ⭐ |
Day 3 | ⭐ | ⭐ |
Day 4 | ⭐ | ⭐ |
Day 5 | ⭐ | ⭐ |
Day 6 | ⭐ | |
Day 7 |
Solutions are implemented with the following considerations:
- Each day's solution is a separate binary in
src/days/
- Input files are read from the
input/
directory (not committed) - Tests are included for each day's solution
- Advent of Code - For creating these amazing puzzles
- The Rust Community - For their excellent documentation and support