Skip to content

pascalruscher/rust_aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rust Advent of Code Solutions

My solutions for Advent of Code in Rust.

Execution

Run

cargo run -- --year <year> --day <day>

year - 4 digits, i.e. 2015.

day - 2 digits with a or b as suffix, i.e. 01a

Example

cargo run -- --year 2015 --day 01a

Test

Tests can be executed via module path year<year>::day<day>::tests.

Example

cargo test -- year2022::day01::tests