Advent of Code in Rust
Find a file
2025-12-16 10:11:06 +07:00
src add common data structure module 2025-12-16 10:11:06 +07:00
.gitignore update gitignore 2025-12-01 10:13:44 +07:00
Cargo.lock fix proc macro using quote 2025-12-12 11:04:12 +07:00
Cargo.toml add switch/module macros 2025-12-11 15:47:42 +07:00
README.md rename args 2025-12-11 10:17:20 +07:00

Advent of Code in Rust

My solvers on Advent of Code Problems in Rust.

Installation

Download this repo, and then compile the pro

cargo build

The result is a single binary containing all solvers.

Running

  • The program will ingest the input from the given filename. If not, it will use stdin instead.
  • Supplying --year, --day, and --problem numbers are necessary.
aoc --year 2025 --day 1 --problem 1 input/2025-12-01.txt
# or
aoc --year 2025 --day 1 --problem 1 < input/2025-12-01.txt

The solution will be spitted out on stdout.