No description
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| data | ||
| src | ||
| utils | ||
| .env.example | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Advent-of-Code 2024
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 ciinputs/: this directory is gitignored, input files go here
src/:bin/:<day>.rs: solution files
lib.rs: library entrypoint, reusable code goes heretemplate.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 fordaycargo download <day>: download input file fordaycargo solve <day>: run solution against input forday
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 TOKEN to AoC session Cookie