Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brettbuddin/advent2022
🧑🎄 Advent of Code 2022
https://github.com/brettbuddin/advent2022
advent-of-code advent-of-code-2022 advent-of-code-2022-rust rust
Last synced: 5 days ago
JSON representation
🧑🎄 Advent of Code 2022
- Host: GitHub
- URL: https://github.com/brettbuddin/advent2022
- Owner: brettbuddin
- Created: 2022-12-01T22:01:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T23:50:47.000Z (about 2 years ago)
- Last Synced: 2023-04-14T22:30:47.228Z (over 1 year ago)
- Topics: advent-of-code, advent-of-code-2022, advent-of-code-2022-rust, rust
- Language: Rust
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
I'm doing my [Advent of Code 2022](https://adventofcode.com) in Rust this year.
To add a day use [Cargo Generate](https://github.com/cargo-generate/cargo-generate) to generate a crate for that day:
```console
$ cargo generate --name day02 --path ./template
```Add the new day to the [`workspace Cargo.toml`](Cargo.toml):
```toml
[workspace]
members = [
"day01",
"day02", # Day 2!
]
```To run a specific day:
```console
$ cargo run --bin day02
```