https://github.com/coriolinus/adventofcode-2022
Solutions to the 2022 edition of Advent of Code
https://github.com/coriolinus/adventofcode-2022
Last synced: 12 months ago
JSON representation
Solutions to the 2022 edition of Advent of Code
- Host: GitHub
- URL: https://github.com/coriolinus/adventofcode-2022
- Owner: coriolinus
- Created: 2022-11-17T16:05:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T08:10:27.000Z (over 2 years ago)
- Last Synced: 2024-04-24T04:13:02.424Z (over 2 years ago)
- Language: Rust
- Size: 188 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2022
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
```