Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bombsimon/advent-of-code-2024
🎄 Advent of Code 2024
https://github.com/bombsimon/advent-of-code-2024
advent-of-code advent-of-code-2024 advent-of-code-2024-rust aoc aoc-2024 aoc-2024-in-rust
Last synced: 12 days ago
JSON representation
🎄 Advent of Code 2024
- Host: GitHub
- URL: https://github.com/bombsimon/advent-of-code-2024
- Owner: bombsimon
- License: wtfpl
- Created: 2024-12-01T13:19:17.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-12T07:59:57.000Z (about 1 month ago)
- Last Synced: 2025-01-02T23:57:10.488Z (13 days ago)
- Topics: advent-of-code, advent-of-code-2024, advent-of-code-2024-rust, aoc, aoc-2024, aoc-2024-in-rust
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2023
Not much changing here, [Advent of Code](https://adventofcode.com) 2024!
Sticking to Rust this year as well.## Input
As per [the official FAQ][faq] and a lot of [discussions on Reddit][reddit] I'm
not committing any input data this year. So to run this code you'll have to
download the input first.## Test
```sh
# Test all days so far
› cargo test
```## Execute
```sh
# Run a specific day
› cargo run
```## Setup new day
This is very specific for this repository, but the script [`new-day`](./new-day)
will check the `solutions` module to see how many days have been solved and then
scaffold an empty day and update the match arms to include this.If the environment variable `AOC_TOKEN` is set to a valid session cookie value
the input for that day will be downloaded as well.[faq]: https://adventofcode.com/about#faq_copying
[reddit]: https://www.reddit.com/r/adventofcode/wiki/troubleshooting/no_asking_for_inputs