Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

iicurtis/Rust-Advent-of-Code-2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adventofcode

My personal implementations for Advent of Code (AoC)

Instructions

The code is designed to take input from stdin. A wrapper program run_day.sh exists to run code from the inputs/ directory.

Install cargo-aoc

This requires cargo-aoc to work.

cargo install cargo-aoc

Running a single day

cargo aoc -d 1

Running all days

cargo run --release

Running custom input

I actually don't know how to do this with cargo-aoc. It does lose a bit of its flexibility. But its nice to get benchmarks and have a coding paradigm very similar to others.

Other Rust AoC

Be sure to check out the Rust Discord! We are on there every day.

TODO

  • Add tests
  • Follow BurntSushi's example and don't panic

Releases

No releases published

Packages

No packages published

Languages