2025-02-20 08:59:13 +01:00
<h1 align="center">theoludwig/advent_of_code</h1>
2023-12-01 12:44:47 +01:00
2024-01-27 18:53:26 +01:00
<p align="center">
2025-02-20 08:59:13 +01:00
<strong>My Solutions for the <a href="https://adventofcode.com/">Advent of Code</a>, implemented in the <a href="https://www.rust-lang.org/">Rust Programming Language</a>.</strong>
2024-01-27 18:53:26 +01:00
</p>
2024-01-27 17:49:25 +01:00
2024-02-08 21:04:22 +01:00
## Days Progress
2025-02-20 09:47:11 +01:00
### [2024](./advent_2024)
- [Day 1 (`**`) ](./advent_2024/puzzle_2024_day_1 )
2025-02-20 14:36:50 +01:00
- [Day 2 (`**`) ](./advent_2024/puzzle_2024_day_2 )
2025-02-20 09:47:11 +01:00
2025-02-20 08:59:13 +01:00
### [2023](./advent_2023)
2024-02-08 21:04:22 +01:00
2025-02-20 08:59:13 +01:00
- [Day 1 (`**`) ](./advent_2023/puzzle_2023_day_1 )
- [Day 2 (`**`) ](./advent_2023/puzzle_2023_day_2 )
- [Day 3 (`**`) ](./advent_2023/puzzle_2023_day_3 )
- [Day 4 (`**`) ](./advent_2023/puzzle_2023_day_4 )
- [Day 5 (`**`) ](./advent_2023/puzzle_2023_day_5 )
- [Day 6 (`**`) ](./advent_2023/puzzle_2023_day_6 )
- [Day 7 (`*`) ](./advent_2023/puzzle_2023_day_7 )
- [Day 8 (`*`) ](./advent_2023/puzzle_2023_day_8 )
2024-01-27 17:49:25 +01:00
2025-02-20 08:59:13 +01:00
## Prerequisite: Rust Toolchain
2024-01-27 17:49:25 +01:00
2025-02-20 08:59:13 +01:00
The project is **tested** against the following [Rust ](https://www.rust-lang.org/ ) versions:
2024-01-27 18:53:26 +01:00
2025-05-18 11:56:50 +02:00
- **Minimum Supported Rust Version (MSRV): v1.87.0**
2024-01-27 17:49:25 +01:00
- **Latest Stable Version**
2025-02-20 08:59:13 +01:00
## Usage
2024-01-27 19:18:46 +01:00
2024-02-08 14:23:24 +01:00
```sh
2025-02-20 08:59:13 +01:00
# Run a specific day's challenge (e.g. Day 1 of 2023)
cargo run --package puzzle_2023_day_1
2024-01-27 17:49:25 +01:00
2025-02-20 09:47:11 +01:00
# Create a new day's challenge (e.g. Day 1 of 2023)
cd advent_2023
cargo new puzzle_2023_day_1
2024-01-27 19:18:46 +01:00
# Build, Lint, and Test Usage
2024-01-27 17:49:25 +01:00
cargo build
cargo test
cargo clippy --verbose -- -D warnings
cargo fmt -- --check
2023-12-01 17:26:01 +01:00
```