Welcome to my Advent of Code 2023 repository! This project is a collection of daily solutions to the Advent of Code challenges, each implemented in Rust. As I tackle the challenges, my primary goal is to learn and improve my Rust programming skills. Feel free to explore the solutions and provide feedback or suggestions.
Advent of Code is an annual coding event where participants solve a series of programming challenges throughout the month of December. This repository serves as my personal learning journey, where I implement solutions to each day's challenge using Rust. Rust's focus on performance, safety, and concurrency makes it an ideal language for honing programming skills.
Each day's challenge is organized into a separate Cargo project. I'm following the project structure suggested in Chris Biscardi's excellent YouTube video "How to set up Rust for Advent of Code".
advent_of_code_2023_rust/
│
├── day_01/
│ ├── src/
│ │ ├── bin/
│ │ │ ├── part1.rs
│ │ │ ├── part2.rs
├── day_02/
│ ├── src/
│ │ ├── bin/
│ │ │ ├── part1.rs
│ │ │ ├── part2.rs
├── ...
Navigate to the specific day's directory and run the corresponding Cargo project:
cd day_01
cargo run --bin part1 # Solution to part 1
cargo run --bin part2 # Solution to part 2
cargo test # Daily tests
Replace day_01
with the desired day's directory.