Go to file
Matej Janezic 0000012039
feat: add hashbrown
2022-12-03 21:48:24 +01:00
.cargo chore: prepare repo from template 2022-11-28 22:48:11 +01:00
.github/workflows feat(ci): check, test, clippy 2022-12-03 20:16:40 +01:00
src feat: add hashbrown 2022-12-03 21:48:24 +01:00
.env.example chore: prepare repo from template 2022-11-28 22:48:11 +01:00
.gitignore feat: remove tests from .gitignore 2022-12-03 20:08:29 +01:00
Cargo.lock feat: add hashbrown 2022-12-03 21:48:24 +01:00
Cargo.toml feat: add hashbrown 2022-12-03 21:48:24 +01:00
README.md chore: update README.md to version from template 2022-12-03 20:18:31 +01:00

README.md

Check Tests Clippy

Advent-of-Code 2015

This is a dumbed down version of fspoettel/advent-of-code-rust with some extra features

Project overview

Project structure

  • src/ :
    • bin/:
      • <day>.rs: solution files
      • *.rs: convenience scripts
    • inputs/: this directory is gitignored, input files go here
    • test_inputs/: example files go here; you can push this as test are run in ci
    • helpers.rs: helper functions you can reuse in solution files go here
    • lib.rs: contains framework code
    • main.rs: contains framework code
  • .env.example: example dotenv file

Cli

  • cargo prepare <day>: prepare solution files for day
  • cargo download <day>: download input file for day
  • cargo solve <day>: run solution against input for day
  • cargo all: alias for run; runs solutions for all days

dotenv

set YEAR to whichever year you are solving for and TOKEN to AoC session Cookie

FAQ

How are your commits numbered in ascending order?

https://westling.dev/b/extremely-linear-git