Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```