Skip to content

LeMoonStar/AoC25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2025

About Language: Rust License: MIT Days completed Stars

My Advent of Code 2025 Solutions.

Usage

There are multiple ways to run my solutions, the easiest and most comfortable one is the auto command:
It automatically downloads your input. For this it requires you to provide your Advent of Code session id, which you can find in the websites cookies after logging in.
Simply provide the session token by setting the AOC_SESSION environment variable or using the -s argument:
AOC_SESSION=XXXMYSESSION ./aoc25 [DAY] auto or ./aoc25 [DAY] auto -s XXXMYSESSION.
In this example, the environment variable for the AoC session is set using export AOC_SESSION=XXXMYSESSION, so I can run the command without specifying the session token again:
auto command in action

If you don't want to automatically download the input, you can also use the run command, which uses a locally stored file or the stdin input:
./aoc25 [DAY] run -f my_input.txt:
run command in action

If you just want to run the day's example, simply use the test command, as this project already includes the examples: ./aoc25 [DAY] test:
test command in action

Compiling

This project uses Cargo, so compiling is pretty easy:
cargo build --release
The resulting binary can be found at ./targets/release/aoc25. You can also directly run the project using cargo run --release [arguments for aoc25]
the --release option is not required, but it results in better performance.

Check out other AoC25 solutions

TODO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages