Advent of Code in Rust
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
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
stdininstead. - Supplying
--year,--day, and--problemnumbers 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.