Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/j1elo/advent-of-code-2018-rust

Problems from Advent of Code 2018, written in Rust
https://github.com/j1elo/advent-of-code-2018-rust

advent-of-code advent-of-code-2018 rust-lang

Last synced: 14 days ago
JSON representation

Problems from Advent of Code 2018, written in Rust

Awesome Lists containing this project

README

        

# Advent of Code 2018 (Rust)

Problems from [Advent of Code 2018](https://adventofcode.com/2018), written in [Rust](https://www.rust-lang.org/).

## Day preparation

To prepare a subproject for each new day:

```sh
./new-day.sh
```

For example: `./new-day.sh 12` initializes all files in a directory named `day-12`.

And then add the new `day-NN` directory to the `workspace.members` array in [Cargo.toml](Cargo.toml).

## Run

To build and run the code for any of the days:

```sh
./run-day.sh
```

Of course, `rustc` and `cargo` must be installed; if they are not, check the [Install Rust](https://www.rust-lang.org/tools/install) page.