Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Advent of Code in Rust 2023

Prerequisites

  • Cargo
  • Rust
  • Christmas 2023
  • Snow?

Building

cargo build

Running a day

cd <to correct directory in src>

Then:

cargo run < input.txt

or

echo -n "yourinput" | cargo run

or

cargo run -- bin day_01
<hey>

Running a test

The tests are from the example of the day

cargo test

Needs more attention