https://github.com/coriolinus/adventofcode-2021
Solutions to Advent of Code, 2021
https://github.com/coriolinus/adventofcode-2021
Last synced: over 1 year ago
JSON representation
Solutions to Advent of Code, 2021
- Host: GitHub
- URL: https://github.com/coriolinus/adventofcode-2021
- Owner: coriolinus
- Created: 2021-11-29T07:22:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T05:49:24.000Z (about 4 years ago)
- Last Synced: 2025-02-01T04:16:30.543Z (over 1 year ago)
- Language: Rust
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2021
Solutions to the exercises at .
Each day is a subproject within a shared workspace; this reduces recompilation required.
Uses [`aoctool`](https://github.com/coriolinus/aoctool) for daily setup, and
[`aoclib`](https://github.com/coriolinus/aoclib/) for shared library functions.
## Running a Day
As each day is a sub-crate built from a template, they all have a similar CLI interface. Each is smart
enough to download its input if it does not exist, but use the existing file if it does. Just run the
desired day by name; it'll run part 1. Part 2 can be run by adding a CLI flag.
```bash
cargo run -p day01 -- --part2
```