Skip to content

tlrobrn/aoc2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

Advent of Code solutions in Rust.

Structure

Common utilities are defined in src/lib.rs.

Day implementations are defined in src/bin/.

Usage

Pass the day binary to cargo run and pass the input through stdin. For example, to run day1 with the input saved in resources/day1.txt:

$ cargo run --bin day1 < resources/day1.txt

Test

$ cargo test

To test a specific day (e.g. day1):

$ cargo test --bin day1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages