Skip to content

markjfisher/advent-of-code-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent Of Code in Rust

rust

My rust solutions to Advent of Code puzzles.

I previously used cargo-aoc, but switched to a solution that combines all years instead, as cargo-aoc does not support workspaces.

Edit files (src/aoc{year}/day{day}.rs) to add solutions for new days/years. Then add references to the new files in src/lib.rs, src/main.rs, and tests/test.rs.

Running Solutions

cargo build
cargo run
cargo run aoc2024
cargo run aoc2024::day01

To run a release version add --release to the above arguments

To run tests:

cargo test
cargo test aoc2024::day01

About

Rust versions of AOC challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages