No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-11-17 23:45:40 -03:00
.cargo feat: update template 2025-11-17 23:43:29 -03:00
data feat: update template 2025-11-17 23:43:29 -03:00
src feat: update template 2025-11-17 23:43:29 -03:00
utils feat: update template 2025-11-17 23:43:29 -03:00
.env.example Initial commit 2023-01-24 15:36:29 +01:00
.git-blame-ignore-revs chore: blame ignore 00000160b4 2025-11-17 23:45:40 -03:00
.gitignore feat: update template 2025-11-17 23:43:29 -03:00
Cargo.lock feat: update template 2025-11-17 23:43:29 -03:00
Cargo.toml feat: update template 2025-11-17 23:43:29 -03:00
LICENSE Initial commit 2023-01-24 15:36:29 +01:00
README.md feat: update template 2025-11-17 23:43:29 -03:00

Advent-of-Code 2016

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

Project overview

Project structure

  • data/ :
    • examples/: example files go here; you can push this as test are run in ci
    • inputs/: this directory is gitignored, input files go here
  • src/ :
    • bin/:
      • <day>.rs: solution files
    • lib.rs: library entrypoint, reusable code goes here
    • template.rs: contains template code
  • utils/: binary packages with convenience scripts structured using cargo workspaces
  • .env.example: example dotenv file

Cli

  • cargo scaffold <day>: prepare solution files for day
  • cargo download <day>: download input file for day
  • cargo solve <day>: run solution against input for day

Run cargo build --workspace --release once so scaffold and download packages get compiled, otherwise they will have to be compiled on first run.

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